Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
If condition with date
Message
From
16/04/2003 13:46:26
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
16/04/2003 13:42:15
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00778466
Message ID:
00778474
Views:
16
>Could you please tell me how i can use the date format for the if condition.
>
>Could you please correct it.
>
>msg = date()
>
>if msg = {04/16/2003} then
> =messagebox("License expired")
> return .t.
>endif
>
>Thank you very much.

Seems correct :)
msg = date()
if msg >= {^2003/04/16}
 messagebox('...')
endif
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform