i try to get the recent date and i use the following lines:
Code: Select all
VBSTART
VBEND
Vbeval>DateAdd("d",-3,Date),someday
Vbeval>Year("%someday%"),yearw
Vbeval>Month("%someday%"),monthw
Vbeval>Day("%someday%"),dayw
Code: Select all
MessageModal>%yearw%-%monthw%-%dayw%
in the Macro Sheduller 9 the following lines worked:
//and i cant paste the simple if lines, because the forum engine removes it
//here was a simple IF which added 0 when month or day was less than 10
but
MessageModal>%yearw%-%monthw%-%dayw% still returns the date in the format 2010-5-8 not 2010-05-08
Does anyone know how to solve that riddle?