RosettaCodeData/Task/Date-manipulation/PL-I/date-manipulation.pli

9 lines
337 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
/* 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;
2013-06-05 21:47:54 +00:00
put list (SECSTODATE(seconds));