Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dtot() changing the time from default
Message
De
18/02/2004 11:47:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00878361
Message ID:
00878364
Vues:
18
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform