facebook

How is information stored?

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #341657 Reply

    How do I see the value format in which time or a date is stored in those fields?

    I have an app that works. When I run it in the test center and input values in the date and time fields, I would like to see how the date and time is stored. How do I do this?

    Thanks for any help.

    Celeste

    #341658 Reply

    Stu Wade
    Member

    Hi Celeste,

    All dates are calculated in milliseconds from 01 January, 1970 00:00:00 Universal Time (UTC) with a day containing 86,400,000 milliseconds.

    Which is the official definition although not particularly helpful.

    For pretty detailed information on how to manipulate these beasties try:

    http://www.w3schools.com/jsref/jsref_obj_date.asp

    Although W3Schools has been ridiculed in the past for some rather schoolboy errors, I have found that latterly they are fairly reliable and this page in particular seems to be pretty good.

    #341660 Reply

    Is there a way to create a test function that displays values of input elements for a beginning date, beginning time, end date and end time (what’s stored in all 4 of them)?

    Can I do an alert or console log? If so, how do I go about doing this.

    Thanks,

    Celeste

    #341888 Reply

    Hi Celeste,

    Apologies for the delay, we have been short handed due to summer vacations. Do you still need assistance? If yes, could you provide a mock up of your requirements, and more details about the fields?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: How is information stored?

You must be logged in to post in the forum log in