Save filename as Today date

I need to save a file as filename- Current Date!?
Assign is used to do that
but i cant find the assign in activities

@YUGAN_NITHISH_KUMAR

You can use Now.ToString("MMddyyyy") for todays date

Cheers

Can you help me for this doubt

Like if the date matches month ends
need to send the report to an email

@YUGAN_NITHISH_KUMAR

Is the last date of month defined as monthend?

If so then DateTime.DaysInMonth(Now.Year,Now.Month) will give you the last date of current month and you can use if condition like

DateTime.DaysInMonth(Now.Year,Now.Month).Equals(Now.Day)

In the then side use send email with report

Cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.