Hi all, Just joined this group. Been assigned a project to list entries that have been entered within the last 45 days. My database has the date column with the date format as YYYYMMDD (ex: 20070423) Been trying to write code for an SQL query to list entries that are less than 45 days from the date that is in the column I have used the dateadd() function but does the date have to be in the format as MMDDYYYY (ex: 04232007) in order for the dateadd() function to work properly. Any help would be appreciated Thanks Ken