Cogniza | Business-Intelligence Specialists

Oct/05

26

Crystal Reports: FirstDayOfPrevMonth() Function

Crystal Reports custom function to calculate the first day of the prior month.

Function ()
Date( DateAdd("m", -1, DateTime(Year(CurrentDate), Month(CurrentDate),1 ,0 ,0 ,0)));

Parameters

None

Remarks

None

Example

FirstDayOfPrevMonth

Requirements

This function requires the use of Crystal Syntax.

No tags

No comments yet.

Leave a Reply

 

<<

>>

Theme Design by devolux.nh2.me