I want to store the current date in a column's view i have and then compare it with a date a user has saved.
Is it possible to get the current date in sharepoint 2010?
I wrote an article on our company blog that outlines the various methods of using [Today] in this context, as well as a little background on why [Today] isn't available in calculated columns:
Warning: this also contains recommendations for our own product
How to use [Today] in a sharepoint list
Here are the main methods covered:
- JavaScript: Use a Content Editor Web Part
- Designer: Create a custom view in SharePoint Designer
- Code: Make your own custom field type from scratch
- SharePoint Highlighter: Our own solution to the problem