2 Replies Latest reply: Jun 27, 2013 4:01 AM by Robert Svebeck RSS

    Convert a timestamp from 12 hr to 24 hr in script

    Robert Svebeck

      Hi

       

      I have a textfile containing timestamps with 12hr format.

       

      I need to convert those timestamps into a 24 hr format, wich is my standard timeformat in the document.

       

      But this does not work when writing in scipt:

       

      Timestamp(Timestamp#(MyTimeStampFieldin12HrsFormat,'hh:mm:ss TT') ,'hh:mm:ss') as MyTimeStampFieldin24HrsFormat

       

       

      Why?

       

       

      Best Regards

       

      Robert