I am using a query to look up the year of a date in the "date" field of a table. In a column of the query I enter:
Year: datepart("y",[date])
The query then returns incorrect numbers. For example, if a date read "12/4/01", it may list "348" as the year. I have tried the same method to return the month,
ie. Year: datepart("m",[date]), and it works great. Any help or suggestions would be great!
Thanks,
Matt
Year: datepart("y",[date])
The query then returns incorrect numbers. For example, if a date read "12/4/01", it may list "348" as the year. I have tried the same method to return the month,
ie. Year: datepart("m",[date]), and it works great. Any help or suggestions would be great!
Thanks,
Matt