OK. I had a very simple problem in calling date functions
and getting the year, month, and day parts of the date. Now that I have that
solved I would like to solicit help with my next task. I want to convert a
datetime to a specific string format. Right now I want to convert to a string
YYYYMMDD, with leading zeros as appropriate. While I can call get-month to get
the month portion of a date I cannot format the integer into a string with a
leading zero. I have a similar problem with the day portion. Any suggestions? Thank you. Kevin |
- [Nant-users] Format conversion to string with leading zeros. Burton, Kevin