C
Coleen
Hi all
My post on weird date formatting disappeared from my list, so if this a duplicate post, I apologize.
I'm having trouble getting a date to format as just "MM/dd"
I don't care what the year is, I get that information first, then need to format the data as MM/dd to look for the Month and day to check if it is a Holiday. If it is a Holiday, and falls on a Monday (I can get the dddd to format just fine!), then I need to make the due date fall on the Tuesday after the Holiday. I've tried:
ls_due_dt = ld_due_dt.ToString() then, using
String.Format("MM/dd", ls_due_dt)
I've also tried Format(ls_due_dt, "MM/dd") which just gives me a literal string of "MM/dd". Any suggestions? TIA
Coleen
My post on weird date formatting disappeared from my list, so if this a duplicate post, I apologize.
I'm having trouble getting a date to format as just "MM/dd"
I don't care what the year is, I get that information first, then need to format the data as MM/dd to look for the Month and day to check if it is a Holiday. If it is a Holiday, and falls on a Monday (I can get the dddd to format just fine!), then I need to make the due date fall on the Tuesday after the Holiday. I've tried:
ls_due_dt = ld_due_dt.ToString() then, using
String.Format("MM/dd", ls_due_dt)
I've also tried Format(ls_due_dt, "MM/dd") which just gives me a literal string of "MM/dd". Any suggestions? TIA
Coleen