sharepoint - Date compare filter using XSLT? -
i have "date available" column had column type of "single line of text." values in m/dd/yyy format. following search filter used without issue:
(number(ddwrt:formatdatetime($needby,1033,'yyyymmdd')) >= number(ddwrt:formatdatetime(string(@arsdateavailable),1033,'yyyymmdd')) or $needby = '')
but column type had changed "date , time" , filter doesn't appear working. because column type changed? how can modify filter make work?
this convert date number can use compare other dates (that have been converted way):
ddwrt:datetimetick(ddwrt:gendisplayname(string(@arsdateavilable)))
Comments
Post a Comment