I am retrieving a Date/Time field from a populated template field.
Then, I am comparing this against a date/time field from a database query to see whether the data I have is the newest iteration.
The problem, when I compare the two fields, is that the date format from the Lasefiche template is displayed as mm/dd/yyyy HH:mm:ss The value from the database displays as just Hours and minutes, thus in my conditional statement I never receive a match.
Ex.
[FALSE] Entry Token [RetrieveFieldValues_LSTUPD]: '6/11/2014 5:37:18 AM' <equals> '6/11/2014 5:37 AM'
How do I either pattern match or otherwise create a token that can will have seconds removed from the data for comparison purposes ?
I am assuming I can just apply a pattern to the retrieved value, and use this token as my comparison value.
Can someone provide a quick solution ?
Thanks much !
cb