Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Number of days in Feb 1

Status
Not open for further replies.

alvintse

Programmer
Aug 1, 2003
66
US
Does anyone know any function in Crystal Reports 9 that can tell how many days on Feb for any year?

Thanks.
 
The following will return the correct number of days for February, where {?year} is a discrete number parameter:

datediff("d",Date({?year}, 02, 01), Date({?year}, 03, 01))

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top