csk_fn_get_epoch_date

Use this function to convert a date to an epoch format.
  • String: csk_fn_get_epoch_date (Object inputDate, String inputFormat)
  • Input:
    • Object inputDate: The input date from the user / lex
    • String inputFormat: The expected input date format
  • Example: $csk_fn_get_epoch_date("10/28/2022", "MM/dd/yyyy") → "1666915200000"