How to check if a DateTime datatype is present or not?
Hi all, I'm trying to write a condition where if a piece of content doesn't have a startDate, it will not display the date and only the title. However I can't seem how to figure out how to identify if a DateTime datatype is present or not. All the test examples I've used do not have startDate and are all showing as "01 January 0001"
How to check if a DateTime datatype is present or not?
Hi all, I'm trying to write a condition where if a piece of content doesn't have a startDate, it will not display the date and only the title. However I can't seem how to figure out how to identify if a DateTime datatype is present or not. All the test examples I've used do not have startDate and are all showing as "01 January 0001"
Any ideas?
Thanks,
David
Hi David,
Does the following work:
Thanks
Paul
Hi Paul,
Thanks for your reply. This looks to have done the trick :)
Thank you!
David
Hi David,
Great to hear that it helped :).
Thanks Paul
is working on a reply...