String format (DateTime d1, String format)
String format (DateTime d1, String format)
Name | Type | Description |
---|---|---|
d1 | DateTime | A DateTime to be formatted. |
format | String | i.e. $1yyyy-MM-dd HH:mm:ss.SSS$1 is correct, but $1yyyy-MM-dd HH:mm:ss.S$1 is not valid. |
Type | Description |
---|---|
String | A String representation of the supplied DateTime in the supplied format. |