RosettaCodeData/Task/Date-manipulation/PL-I/date-manipulation.pli
Ingy döt Net 6f050a029e update
2013-06-05 21:47:54 +00:00

8 lines
337 B
Text

/* The PL/I date functions handle dates and time in 49 */
/* different formats, but not that particular one. For any of the */
/* standard formats, the following date manipulation will add */
/* 12 hours to the current date/time. */
seconds = SECS(DATETIME());
seconds = seconds + 12*60*60;
put list (SECSTODATE(seconds));