timestamp
forge.tafunctionSince Forge API 1
Signaturepython
forge.ta.timestamp(year: int,month: int,day: int,hour: int = 0,minute: int = 0,second: int = 0,*,tz: str = 'UTC') -> intNanoseconds UTC of a local time in tz.
Parameters
| Name | Type | Default |
|---|---|---|
| year | int | |
| month | int | |
| day | int | |
| hour | int | 0 |
| minute | int | 0 |
| second | int | 0 |
| tz | str | 'UTC' |
A local time a DST change skips does not exist and is refused; an ambiguous one (the hour a change repeats) takes the first occurrence, the engine clock's rule.