csk_fn_convert_date_time_local

Use this function to convert date/time values based on the user's local time zone.
  • String: $csk_fn_convert_date_time_local(time, inputFormat, outputFormat)
    • time: the time to be converted
    • inputFormat: the format of time
    • outputFormat: the format to which time will be converted
    • Object... input: the input whose variables will be counted
  • Example: $csk_fn_convert_date_time_local(Csk_CurrentDateTime, \"YYYY-MM-dd'T'HH:mm\", \"hh:mm aa\") -> 2022-09-20T12:30PM