Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dtot() changing the time from default
Message
From
18/02/2004 11:47:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00878361
Message ID:
00878364
Views:
17
>how do I change the default time returned by dtot from 12 midnight to 8 in morning? Here is my code:
>
>
>x={^2003-12-15}
>?x
>z=DTOT(x)
>?z
>
>
>dtot returns 12/15/2003 12:00:00
>
>and I need it to be 12/15/2003 08:00:00
>
>thanks
>Nick Patel

Add 8 hours:
? dtot(x) + 8 * 3600
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform