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 ("March 23rd 2018", "MM/dd/yyyy") → "March 23, 2018"