Results 1 to 11 of 11

Thread: Problem with hours in dates(Resolved)

Threaded View

  1. #1

    Thread Starter
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Problem with hours in dates(Resolved)

    You can get the hour portion of the time from a date data type using the hour method. However, this returns 5 for 5:00 AM, and 5 for 5:00 PM.

    What technique do you use to get this in 24-hour format? I would like 5 for 5:00 AM, and 17 for 5:00 PM.
    Last edited by Shaggy Hiker; Sep 29th, 2004 at 10:16 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width