Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need NT server's data & time
Message
 
 
To
20/03/2000 09:26:03
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00347804
Message ID:
00347847
Views:
22
If you're looking for a DATETIME() from SQL Server with out the miliseconds portion (pretty handy for proper data sychronization):

(SUBSTRING(CONVERT(char(26),GETDATE(),109),1,20) + RIGHT(CONVERT(char(26),GETDATE(),109),2))

Returns a properly formatted string representation of the date. Either do another CONVERT or process it with VFP


Good Luck
Ed Aguinaga
ARIS, Inc
ed@arismls.com
Previous
Reply
Map
View

Click here to load this message in the networking platform