Output | A timestamp instance with current date and time in the local time zone. |
Input | A timestamp instance. |
Output | A string representation of the timestamp in ISO 8601 format. |
Input | A string representation of a timestamp in ISO 8601 format. |
Output | A timestamp instance. |
Input | A timestamp instance. |
Output | The year of the timestamp. |
Input | A timestamp instance. |
Output | The month of the timestamp (1-12). |
Input | A timestamp instance. |
Output | The day of the timestamp (1-31). |
Input | A timestamp instance. |
Output | The hour of the timestamp (0-23). |
Input | A timestamp instance. |
Output | The minute of the timestamp (0-59). |
Input | A timestamp instance. |
Output | The second of the timestamp (0-59). |
Input | A timestamp instance. |
Output | The millisecond of the timestamp (0-999). |
Input | A timestamp instance. |
Output | The number of milliseconds since the Unix epoch. |
Input | Two timestamp instances. |
Output | 1 if the first timestamp is bigger than the second. -1 if it is the smaller. 0 if they are equal. |