Initializing help system before first use

setdatetime

setdatetime


Purpose
Set the date and time of a datetime object.
Synopsis
int setdatetime(XPRMctx ctx, void *sysctx, void *t, int y, int m, int d, int h, int mi, int s, int ms);
Arguments
ctx 
Mosel's execution context
sysctx 
Context of mmsystem
Reference to a date object
Years
Months
days
hours
mi 
minutes
seconds
ms 
milliseconds
Return value
0 if successful or -1 if t is NULL.
Related topics
Module