I store a SSDatetime in the database with a DataObject. I need to be able to check if the current date is greater than two weeks after the date in the database so I can automatically delete the object.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.