Sun Java System Messaging Server 6 2005Q4 MTA Developer's Reference

Example


char buf[80+1];

printf("The current date and time is %s\n",
       mtaDateTime(buf, NULL, sizeof(buf), (time_t)0);