Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning date from Julian day number
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00478106
Message ID:
00478117
Vues:
24
Something like this should work:
*-----
Procedure iFromyyddd
LParameter pcyyddd

return ctod("01/01/"+left(pcyyddd,2))+val(right(pcyyddd,3))-1
*---------

>Hi all.
>
>I need to convert a number in the format of 'YYDDD' (where DDD is a Julian day >number i.e. from 1 to 365 or 366 in a leap year) to a more readable date >format. Does anyone know of a function which will return a mm/dd/yy date from >this?
>
>Many thanks,
>
>Nanci
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform