Entry of a time field

Posted by LegacyUser on 15-Oct-2001 21:01

I must be very tired lately, because I can not for the life of me figure this out. I would like to have a field on gui window be set up to enter a valid time. I have set up the following program. If you run this, the date displays with two :: in it.

DEF VAR vctime AS CHAR.

ASSIGN vctime = STRING(TIME,"HH:MM").

UPDATE vctime FORMAT "99:99".

is there a function for this? I want to display time in the above format and then enter using the same format.

All Replies

This thread is closed