Getting Started > Use Lua Scripts > Method Reference > Date Methods

Date Methods
convert_date_time
Converts date and time formats using standard Autonomy syntax.
Syntax
String convert_date_time (String InputDateTime, String InputFormatCSV, String OutputFormat, [Boolean OutputGMT = false])
Arguments
 
Discussion
All date and time input is treated as local time unless it contains explicit time zone information.
Returns
Date and time in the desired format.