hello all,
All of my users have different regional settings in Windows and Excel. As a result, when I am trying to format a return value as a timestamp, it fails because the format string ios not recognized on that particular deployment.
So I am doing
XlCall.Excel(XlCall.xlcFormatNumber, "dd-mmm-yy hh:mm")
However, this fails on German, French or Chinese deployments - eg in French I need to replace the day component with jj ( j from jour )
Also, it seems to me that the WIndows and Excel settings are not always aligned, so this looks like a nightmare to me to find a decent formatting.
Question - is there a date/time formatting that works on all systems, regardless of the regional setting ?? ( realizing that this is not really an ExcelDna question... ).
Thanlks for yoru thoughts.
guido