| |
rainsworth
Posts: 3
Score: 0
Joined: 6/15/2008
Status: offline
|
The current function I have in place for date functions is below. My only question is on the formating. Currently it will show a format of mmddyyyy. How do I get it to truncate the year into 2 digit format rather than 4 digit? Have tried several different thing's, but it seems to error out every time. Appreciate the help. Function FileDateNow varYear = year(now) varMonth = month(now) if len(varMonth) = 1 then varMonth = "0" & varMonth end if varDay = day(now) if len(varDay) = 1 then varDay = "0" & varDay end if FileDateNow = varMonth & varDay & varYear End Function
|
|