>Hi there,
>
>is there a function in VFP6 which returns the day of the year, which I might have not been able to find? Or, if not, ho3w can I get this value?
>
>Thanks in Advance
>
>Thomas
ldDate = date()
lnDayInYear = ldDate - date(year(ldDate),1,1) + 1
? lnDayInyear
Cetin