if i wanted to compare to date objects like date1 and date2, not to check if they are the same date, but to check if the formatting (such as (YY:MM:SS) ) of the dates are the same, how could I go about doing so? I can only seem to find documentation on comparing the actual dates themselves, not the formatting.
for clarification, say i have dates 2017:07:20 and 2016:05:24, i want to see that they are of the same format... hope that helps