DatePart>DATE,Y = Year = 57317
Here is the simple code. %Original% is a valid file, checked that it exists earlier in script.
Code: Select all
Label>Get Original Date/Time
FileDate>%Original%,Date
FileTime>%Original%,Time
Label>ParseDate
DatePart>Date,y,Year
DatePart>%Date%,m,Month
DatePart>%Date%,d,Day
This is from Stepping thru code:
Day = 3
Month = 10
Year = 57317
===========================
None of these values are correct.
Normal GetDate works normally. Only the DatePart is messing up.
Thanks.
Could these be internal dates that are different from what I see in Explorer?
Makes no sense to me.