Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
timest = pjs.timestamp('1960-09-29-', "*iso");
data = pjs.char(timest);

More Examples


If you need to convert a string with a date value in it, you need to use this in conjunction with pjs.toDate(). Below is an example: 

Code Block
timest = pjs.timestamp(pjs.toDate('2001-03-05'));   //The date string value is converted to a date first, and then to a timestamp.