Question : REMOVING TIMESTAMP FROM A DATE FIELD

What is the best way to remove the timestamp from a date field.  I have some dates that have the timestamp and some that don't (so a trim is not going to help).  I also tried using the DatePart but it failed. Is there a 'to_char' like function in access?

Answer : REMOVING TIMESTAMP FROM A DATE FIELD

If your format is the same in every field, you can run an update query based on the date format.

If it is 123002, then use 6.
If it is 12/30/02, then use 8.

Left([DateField],6)
Random Solutions  
 
programming4us programming4us