Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Day of Year
Message
From
18/05/2004 09:08:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00904885
Message ID:
00904887
Views:
18
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform