Results 1 to 2 of 2
  1. #1
    Silver Lounger
    Join Date
    Jun 2001
    Niagara Falls, New York, USA
    Thanked 0 Times in 0 Posts

    How to Convert Time? (a2k (9.0.3821) SR-1 Jet 4.0)

    How to Convert Time?
    a2k (9.0.3821) SR-1 Jet 4.0

    I have a input time field (strTime) defined as text, 6 characters in length in format HHMMSS

    I want to append it to a dtmTime (date) field in another table and can

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Thanked 28 Times in 28 Posts

    Re: How to Convert Time? (a2k (9.0.3821) SR-1 Jet 4.0)

    For a date field intended to contain times only, set the format property to Short Time. I usually don't set an input mask (personally, I hate the things), but the Input Mask Wizard offers a Short Time option - it looks like 00:00;0;_

    If you want to convert values from the 6 character string field to time values, use TimeSerial(Left([strTime],2),Mid([strTime],3,2),Right([strTime],2))

Posting Permissions

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