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 reliable than merely adding or subtracting the number of seconds in a day or month to a timestamp due to daylight saving time. In these nations much of his Journal seems to have been written; parts of it are dated from them; and there, just a few weeks before his fifty-ninth birthday, he fell sick and died.
Allocates a Date object and initializes it in order that it represents the moment firstly of the second specified by the year, month, date, hrs, min, and sec arguments, in the native time zone. The consequence does not rely upon the native time zone. As of JDK version 1.1, replaced by (yr + 1900, month, date, hrs, min) or GregorianCalendar(yr + 1900, month, date, hrs, min).