NigelShaw
Registered User.
- Local time
- Today, 22:09
- Joined
- Jan 11, 2008
- Messages
- 1,572
Hi,
how could i format a date so that whatever month i am in, a date would be set for a specific day number but the month & year change?
for example-
i need to fix a recurring date every month to 16th.
if the current date was 01-03-2009 and i clicked my button, the date set would 16-03-2009.
my thought was, if the button was pressed BEFORE 16th, the date would be changed to 16-03-2009 but if it was pressed AFTER the 16th, the date would be set to 16-04-2009
i cant seem to get my formatting right.
many thanks,
Nigel
how could i format a date so that whatever month i am in, a date would be set for a specific day number but the month & year change?
for example-
i need to fix a recurring date every month to 16th.
if the current date was 01-03-2009 and i clicked my button, the date set would 16-03-2009.
my thought was, if the button was pressed BEFORE 16th, the date would be changed to 16-03-2009 but if it was pressed AFTER the 16th, the date would be set to 16-04-2009
i cant seem to get my formatting right.
many thanks,
Nigel