ukemigrant
02-13-2004, 11:55 AM
Hi folks, in a script step, I'm assigning the DATETIME macro value as follows:
macro.Value = [DATETIME]
but I get nothing in the relevant macro. If I replace this with:
macro.Value = [DATE]
I get the macro value coming back properly with the relevant date. If I look in the system macros list, I can clearly see the DATETIME macro there.
There's no hint of any errors and I've searched the forums here with no luck. I could write a funtion to get the date/time or use the Format...VSS function I came across in another thread, but this seems to be a fundamental thing which should work.
Anyone have any ideas? I'm using version 5.0 of Visual Build, running on w2k.
Thanks in advance.
Sam.
macro.Value = [DATETIME]
but I get nothing in the relevant macro. If I replace this with:
macro.Value = [DATE]
I get the macro value coming back properly with the relevant date. If I look in the system macros list, I can clearly see the DATETIME macro there.
There's no hint of any errors and I've searched the forums here with no luck. I could write a funtion to get the date/time or use the Format...VSS function I came across in another thread, but this seems to be a fundamental thing which should work.
Anyone have any ideas? I'm using version 5.0 of Visual Build, running on w2k.
Thanks in advance.
Sam.