Unix timestamp

anon2132anon2132 Member Posts: 12
Hello, Just wondering what the best way to convert Unix timestamp data into either DateTime or a date and time field... Data is coming from text file via a Dataport into Nav....

Thanks


(Unix time, or POSIX time, is a system for describing points in time, defined as the number of seconds elapsed since midnight Coordinated Universal Time (UTC) of January 1, 1970, not counting leap seconds. )

Comments

  • SogSog Member Posts: 1,023
    Altough I am not familiar with the timestamp of Unix, the C/AL help file on DateTime could point you in the right direction.
    If the timestamp looks like mm/dd/yyyy hh:mm:ss then maybe you can use the Evaluate function.
    |Pressing F1 is so much faster than opening your browser|
    |To-Increase|
  • anon2132anon2132 Member Posts: 12
    No the unix timestamp is a value which represents seconds since 1/1/1970... so its in the form:

    1237892400 which means, 24th March 2009, 11am
Sign In or Register to comment.