date_create_datetime(year,month,day,hour,minute,second)

From ENIGMA
Jump to navigation Jump to search

Description

Creates a new date-time value and returns it.

Parameters

Parameter Data Type Description
year integer current year of the time
month integer current month of the time
day integer current day of the time
hour integer current hour of the time
minute integer current minute of the time
second integer current second of the time

Return Values

time_t: Returns the newly created date-time value.

Example Call

// demonstrates creating a date and time
var datetime;
datetime = date_create_datetime(1963, 11, 22, 12, 0, 0);