Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make a Time Field without Date info??
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00081597
Message ID:
00081619
Views:
18
>In making a schedule of the date, it will ugly if
>show both date and time at ONE field, how to cut it down?
>Besides, If need to sort it ignoring the date part, of cos,
>no need to enter. As if don't enter date part, by Default,
>it will feed Today Date on Date part. So, Sort will cause problem..
>>_<'

Justok,

If you're using 2 fields, then default the first to Date() and the second to time(). Time() will give you hh:mm:ss (Hours/minutes/seconds) but you can cut off the seconds if you only want to see hours and minutes.

HTH
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform