Hi Devlend,
Please try putting quotes around the letter d. E.g. DateDiff($LastLogin, $C_DateUserWasAssignedLicense, "d") > 60
I hope this helps.
Roland
Comment actions
Need to see if the number of days between two dates is more then a certain number of days. Example: DateDiff($LastLogin,$C_DateUserWasAssignedLicense,d) > 60. Getting the error, "Error: Invalid variable name or field format 'd', expected format is $FieldName"
Please sign in to leave a comment.
Hi Devlend,
Please try putting quotes around the letter d. E.g. DateDiff($LastLogin, $C_DateUserWasAssignedLicense, "d") > 60
I hope this helps.
Roland