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
     | 
| 
     t 
     | 
     Reference to a date object
     | 
| 
     y 
     | 
     Years
     | 
| 
     m 
     | 
     Months
     | 
| 
     d 
     | 
     days
     | 
| 
     h 
     | 
     hours
     | 
| 
     mi 
     | 
     minutes
     | 
| 
     s 
     | 
     seconds
     | 
| 
     ms 
     | 
     milliseconds
     | 
  Return value
 
 
 0 if successful or -1 if
 t is
 NULL.
 
  Related topics
 
  
  Module
 
  
