Utilities for handling dates.
OperationsFormats date into a string
function : Format(date:System.Time.Date, format:String) ~ String
Name | Type | Description |
---|---|---|
date | Date | date |
format | String | date string format options:
|
Type | Description |
---|---|
String | Date instance |
Get the network time
function : GetNetworkTime() ~ Collection.Tuple.Triplet<IntRef,Date,Date>
Type | Description |
---|---|
Triplet<IntRef,Date,Date> | triplet with: unix time, UTC time and local time |
Parses a date from a String.
function : Parse(date_str:String, format:String, gmt:Bool) ~ Date
Name | Type | Description |
---|---|---|
date_str | String | date |
format | String | date string format options:
|
gmt | Bool | true is GMT, false otherwise |
Type | Description |
---|---|
Date | Date instance |