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


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


Can you help me for this doubt

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


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


In the then side use send email with report


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