I have a view that so far works okay but now I need to add a column that shows the year the document was created and filter to only show documents created after the year 2011 (2012 on-wards). The view is created with the formula of;
SELECT ApplicationAcceptanceDate = ""
The column I am trying to filter on (Created Year) has the format of dd/mm/yyyy hh:mm:ss and I am using @Year to show all the document years value only which works so far. But how do I use the @year formula to filter the year to 2012 on-wards please? Here is an image of the view, its fields and the formula I have tried so far.
Use @ToTime() to convert a field to a date-time value no matter if it is stored in document as a string or a date-time value.
Extend your selection formula to
Show the year of creation in column "Created Year" with formula
Remember that you can filter a view only with selection formula, not with column formulas.
Alternatively, you can use @Created. It returns the date-time when the document was created. Your selection formula would be
then and the column formula