 views date handling custom modules and add their own dates to the list the date api views filter and date api views argument can handle see the following example for the way that core dates have been added implementation of hookdateapifields on behalf of core fields all modules that create custom fields that use the viewshandlerfielddate handler can provide additional information here about the type of date they create so the date can be used by the date api views date argument and date filter function dateapidateapifields field values array the type of date dateunix dateiso datedatetime sqltype dateunix timezone handling options none site date utc tzhandling site needed only for dates that use date tzhandling timezonefield needed only for dates that use date tzhandling offsetfield array of tablefield values for related fields that should be loaded automatically in the views sql relatedfields array granularity of this date field s db data granularity array year month day hour minute second switch field case userscreated case usersaccess case userslogin case nodecreated case nodechanged case noderevisionstimestamp case filestimestamp case nodecountertimestamp case accesslogtimestamp case commentstimestamp case nodecommentstatisticslastcommenttimestamp return values  