1 Reply Latest reply: May 25, 2016 11:26 AM by Gysbert Wassenaar RSS

    QvdCreateTime

    Joey Spoor

      the following code num(QvdCreateTime('$(vPath)'));

       

      gives me 42515.580104167 as a timestamp back

      while I was expecting something near:

       

      1464177919

       

      how comes? and how to solve this ?

        • Re: QvdCreateTime
          Gysbert Wassenaar

          What you expect is the number of seconds sinds 1-1-1970. What you get instead is the number of days since 30-12-1899. Now that you now what the values are you can figure out how to turn one format into another.

          Like this I think: (QvdCreateTime('$(vPath)')) - MakeDate(1970)) * 86400