Skip to content

Instantly share code, notes, and snippets.

@katydorjee
Created June 23, 2024 21:24
Show Gist options
  • Select an option

  • Save katydorjee/f49631b38657f1a24ce4e2819ea75a68 to your computer and use it in GitHub Desktop.

Select an option

Save katydorjee/f49631b38657f1a24ce4e2819ea75a68 to your computer and use it in GitHub Desktop.

Revisions

  1. katydorjee created this gist Jun 23, 2024.
    7 changes: 7 additions & 0 deletions UTC Date in AMPscript.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    %%[
    var @systemDate, @utcDate
    set @systemDate = Now()
    set @utcDate = DateParse(@systemDate,1)
    ]%%

    UTC Date: %%=v(@utcDate)=%%