| Start |
|---|
| Creating an NSDate The Returns an
It is also possible to create an |
| Date Comparison There are 4 methods for comparing
Consider the following example using 2 dates, Now that the We can also use the Lastly, we can use |
| Convert NSDate that is composed from hour and minute (only) to a full NSDate There are many cases when one has created an NSDate from only an hour and minute format, i.e: 08:12 The downside for this situation is that your NSDate is almost completely "naked" and what you need to do is to create: day, month, year, second and time zone in order to this object to "play along" with other NSDate types. For the sake of the example let's say that hourAndMinute is the NSDate type that is composed from hour and minute format: Now your object is the total opposite of being "naked". |
| Converting NSDate to NSString If ww have NSDate object, and we want to convert it into NSString. There are different types of Date strings. How we can do that?, It is very simple. Just 3 steps.
This will give output something like this: Note: Creating an Remarks
|
Read Article
https://develop.horje.com/learn/1434/reference