• 24 hour time format

    From sgkeithgan@gmail.com@21:1/5 to John on Sat Apr 13 09:43:55 2019
    On Thursday, April 5, 2001 at 1:23:40 AM UTC+8, John wrote:
    Hi all,

    I've built a little database using the built in access recordsets in VB5 and am trying to store time in one of the fields (the recordset data is stored
    as date/time) in 24 hour format with a click event -- texttime.text = format (now, "hh:mm:ss") - when I hit the button the time is inserted into the box correctly (16:23:03), but when I shut off and reload the program the time is display as 12:23 am... it's driving me nuts.

    First, is it possible to change the windows system time itself to 24 hour format (that's primarily the time format I use for everything), or short of that, how do I get VB5 to leave the time I enter in 24 hour format alone and not convert it back to 'standard' time format?

    Thanks for any help - prefer email if it's not too much trouble...

    John

    --

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    USA 2Way / Hams Helping Hams
    5438 Bates St. - St. Louis, Mo. 63116
    314-353-2Way (9am-3pm M/F Central)
    Fax: 314-457-0106
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Hi all
    I happen to work past midnight with the clock1.formatdatetime function with pattern "kk:mm:ss"and realize it returns time after midnight as 24:01:02 instead of 00:01:02

    Any idea if this can be set to desired hours?
    Thanks ahead.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)