I am trying to use processflow to create a date based on the associate's hire date.... Any suggestions on how I can calculate the first of the month following 30 days?
I tried adding 30 days to hire date but then It still needs to figure the first of the next month ... Right now I can not get a month formula to even calculate the month format correctly?
HIRED = query_DATE_HIRED
pfHIRED = pfDate(HIRED,'mm/dd/yyyy')
plus30 = AddDay(pfHIRED, 30)
MONTH = getMonth(plus30)
I ALMOST HAD IT .... but now I am having problems because the month of shows as 5 instead of 05 .... (2008515 and I need 20080515) I just need to force a leading 0
ANY THOUGHTS....