24 hr time conversion

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • minni
    New Member
    • Sep 2007
    • 1

    24 hr time conversion

    Hi,

    I get the time as 13:30:00 from one system and I need to convert send it to the other system in the same way. However currently the time goes as 01:30:00.

    Any help is appreciated.

    Thanks
  • madhoriya22
    Contributor
    • Jul 2007
    • 251

    #2
    Originally posted by minni
    Hi,

    I get the time as 13:30:00 from one system and I need to convert send it to the other system in the same way. However currently the time goes as 01:30:00.

    Any help is appreciated.

    Thanks
    Hi,
    Are you doing this in java ?

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Originally posted by minni
      Hi,

      I get the time as 13:30:00 from one system and I need to convert send it to the other system in the same way. However currently the time goes as 01:30:00.

      Any help is appreciated.

      Thanks
      You might want to take a look at the DateFormat class

      Comment

      • mike t
        New Member
        • Sep 2007
        • 12

        #4
        Originally posted by minni
        Hi,

        I get the time as 13:30:00 from one system and I need to convert send it to the other system in the same way. However currently the time goes as 01:30:00.

        Any help is appreciated.

        Thanks
        this maybe late.simple way is to drop the 1 subtract 2 and you get the non military time

        Comment

        • mike t
          New Member
          • Sep 2007
          • 12

          #5
          Originally posted by mike t
          this maybe late.simple way is to drop the 1 subtract 2 and you get the non military time
          sorry about that reply thought you wanted to convert.don't know much about computers however see if you can change the clock to read military time

          Comment

          Working...