I have a script with moment js library running in a landing page and the purpose of the library is to check whether today falls in Daylight Saver.
If it does then the function sends a
true statement and
false if it doesn't.
In this context I want to capture the output of the function in an AMPscript variable so I can use it below to drive logics based on
Here is what the landing page consists of:
I have also tried doing
HttpPost on the landing page which consists of the script.
Does anyone know how to achieve this? Also I am open to any other suggestions on getting the Daylight Savings status within cloudPages.