Hi Monks,
I need to pass a Win32 Date variant to a OLEobjct method.
Sadly, Win32::OLE doc don't tell me how translate date with time string into Date variant.
How can I convert a long datetime to Variant date? thanks.use Win32::OLE::Variant; print Variant(VT_DATE, '2000-01-01') # print 2000-01-01 print Variant(VT_DATE, '2000-01-01 10:00') #ditto
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction
In reply to How translate datetime in Win32::OLE by xiaoyafeng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |