Converting the format of dateTime

Dear Community

I am writing a macro for Chemstation. For my outputfile, I would like to change the format of the Injection times and dates from ObjHdrtext$(Chromres, datetime) in a similar way as it is possible with date$([Mode], [TimeValue], [FormatString]). Is that possible as well?

Alternatively, I clipped the date from datetime and made a new string variable. Is it possible to convert the type from string to a date, so that I can change the format according to date$([Mode], [TimeValue], [FormatString])?

Thank you for your help

DOT

Parents
Reply
Children
No Data
Was this helpful?