Microseconds (added in PHP 5.2.2). Notice that date() will at all times generate 000000 because it takes an integer parameter, whereas DateTime::format() does help microseconds if DateTime was created with microseconds. Returns a worth that is the results of subtracting 1900 from the yr that contains or begins with the instant in time represented by this Date object, as interpreted in the native time zone.
Allocates a Date object and initializes it in order that it represents the date and time indicated by the string s, which is interpreted as if by the parse(.String) method. Allocates a Date object and initializes it so that it represents the time at which it was allotted, measured to the nearest millisecond.
Date – the day of the month between 1-31. This can be more …