T O P I C R E V I E W |
coll@inia. |
Posted - 03/20/2009 : 4:44:03 PM How can I change the date format in @D to DDMMMYY for an script?. I use Operating System: windows XP and Origin6.1
I tried by changing that format in the options dialog and by introducing the statement: system.date.customFormat1$.
Neither of those work. It seems like the script is using the windows XP format in any case. Why? Can anybody help me?
julio |
2 L A T E S T R E P L I E S (Newest First) |
coll@inia. |
Posted - 03/24/2009 : 11:48:55 AM Thank you Greg |
greg |
Posted - 03/23/2009 : 11:06:34 AM The Date specification requires lowercase d and y so the custom format can be assigned as :
SYSTEM.DATE.CUSTOMFORMAT1$="ddMMMyy";
If this needs to be applied to a column note the sequence (here being applied to column 1) : wks.col1.subformat=20; // First set the subformat to use CUSTOMFORMAT1 wks.col1.format=4; // Then set the column format to use Date
|