Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Time Display
Message
 
 
To
05/01/2001 21:28:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00460135
Message ID:
00460140
Views:
15
>Hi all,
>I have a date/time field but in the textbox, I only want to get/show the Time. Is there any way I can do this through an input pask or format property or any other way.
>
>Thanks & regards
>
>Abdul Ahad Khan

Abdul,

Check Time() and TTOC() functions in the Help, I think, they should help you. This is from HELP on TTOC():
2

Specifies that TTOC( ) return a Character string consisting of only the time portion of the DateTime expression. The settings of SET SECONDS and SET DATE specify if the seconds portion of the time is included in the character string. Note that if SET DATE is set to LONG or SHORT, the format of the character string is determined by the format of the Control Panel time setting.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform