Windhill2015_6735

Date format conversion from DU to One Automation.

Discussion created by Windhill2015_6735 on Dec 14, 2016
Latest reply on Dec 20, 2016 by Pete Wirfs
Hi Guys 

We are in planning for migration from Dollar Universe to One Automation. All the date formats we use in DU I have been able to convert except these 2 below. As always any  assistance appreciated. 

Last day of the previous month
for /F %%i in ('%UXEXE%\uxdat "yyyymmdd" "%S_DATRAIT%" "ddMMMyy" "1m/-1d"') do (set DLMMLYY=%%i)

1st day of the previous month
for /F %%i in ('%UXEXE%\uxdat "yyyymmdd" "%S_DATRAIT%" "ddMMMyy" "-1m/1m"') do (set DFMMFYY=%%i)

Thanks & regards

Outcomes