RosettaCodeData/Task/Date-manipulation/PL-I/date-manipulation.pli
2023-07-01 13:44:08 -04: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));