Question : Access - time delivery of a built in macro

Hi,

Is there a way to add a time of execution within a built in macro in Access?

Thank you.

Answer : Access - time delivery of a built in macro

Sorry, Date is your date value.
For example if the date was hardcoded it would look like this.:
select  DATEadd("d",7+4-datepart("dw",'07-31-2010'),'07-31-2010') , DATEadd("d",7-3-datepart("dw",'07-31-2010'),'07-31-2010')

If I wanted it to always be today I would change date to GetDate()
select  DATEadd("d",7+4-datepart("dw",GetDate()),GetDate()) , DATEadd("d",7-3-datepart("dw",GetDate()),GetDate())



Random Solutions  
 
programming4us programming4us