Name | <TimeTag.format[(<format>)]> |
Returns | ElementTag |
Description | Returns the time, formatted to the date format specification given.
If no format input is given, uses "yyyy/MM/dd HH:mm:ss". The optional input to this tag uses semi-standard date format symbols, such as 'yyyy' to mean a 4-digit year or 'MM' to mean a 2-digit month. There are a variety of additional symbols accepted, as listed under "Patterns for Formatting and Parsing" on https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/TimeTag.java#L698 |