Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert numeric field information into time information
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01526846
Message ID:
01526857
Vues:
50
dank u wel marc.

>Would this work for you?
>
>
>? cTimeformat(9.5)
>? cTimeformat(6.75)
>
>FUNCTION cTimeFormat(n)
>return RIGHT("00" + ALLTRIM(str(INT(n))),2) + ":" + RIGHT("00" + ALLTRIM(str(INT(60 * (n- INT(n))))),2)
>
>
>
>
>>hi all,
>>
>>i have 9.5 and i want 09:30
>>i have 6.75 and i want 06:45
>>
>>how to resolve my problem ?
>>
>>Thank in advance for help
>>
>>bernhart
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform