Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

What is this datetime format?

  • 24-02-2011 10:35pm
    #1
    Registered Users, Registered Users 2 Posts: 2,793 ✭✭✭


    Hi,

    I have to parse some information from an external textfile and I'm not sure what format the time and dates are formatted in.

    Length=249.808
    StartTime=79808.13


    Anyone have any ideas? Length is a time less than 5 mins and Start time should probably be a date and time.

    Thanks,
    John


Comments

  • Registered Users, Registered Users 2 Posts: 9,579 ✭✭✭Webmonkey


    Umm..I'd imagine it must be relative to some other time, a unix time stamp perhaps...


  • Moderators, Society & Culture Moderators Posts: 9,689 Mod ✭✭✭✭stevenmu


    I'm guessing they're just times, not dates. Given that the length is less than 5 minutes, which is 300 seconds, the 249 seems to fit within that. The number of decimal places seems about right, computer based time measurements don't usually go beyond thousandths.

    Assuming they are seconds, the time figure works out at 22.16888... hours, or roughly 22:10.

    So at 22:10 something ran for 249 seconds. The date may be included in a previous line?


  • Registered Users, Registered Users 2 Posts: 2,781 ✭✭✭amen


    you need to ask company/person who generated the external file.

    You have no idea what these values mean.

    Are the times from 12:00am local time, 12:00am GMT, time since the job was last ran, time since the service/application started etc

    Guessing will lead to a world of hurt.


Advertisement