+ Reply to Thread
Results 1 to 3 of 3

Time question-displayed as a fraction

  1. #1
    Registered User
    Join Date
    11-01-2006
    Posts
    10

    Time question-displayed as a fraction

    This is probably an easy question, but im still stumped.

    I have a Form that a user types in a time, say 12:50 PM, then saves the form.
    But whenever that cell is recalled in to the form it gets displayed as a fraction, say 0.534722222222222 . I tried formatting the cells as Time, but no use.

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Excel saves times as a decimal and displays that decimal in the format that you set.


    When getting cell values you do not get the formatting with it

    You will need to format your data in the form berfore displaying it

    try

    Format(0.534722222222222, "hh:mm")

  3. #3
    Registered User
    Join Date
    11-01-2006
    Posts
    10
    thanks, I thought it was something like that

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1