time_encode(year,month,day[,hours[,minutes[,seconds[,milliseconds]]]])

Create a timestamp from the individual time components. Any value which is not specified will default to 0.

Example

ts = time_encode( 2010, 1, 1 )