Pike v8.1 release 6

Method System.TM()->create()


Method create

System.TM System.TM(int t)

Description

Create a new TM initialized from a unix time_t. The timezone will always be UTC when using this function.


Method create

System.TM System.TM()

Description

Construct a new TM, all fields will be set to 0.


Method create

System.TM System.TM(int year, int(0..11) mon, int(1..31) mday, int(0..24) hour, int(0..59) min, int(0..59) sec, string|void timezone)

Description

Construct a new time using the given values. Slightly faster than setting them individually.