Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ORACLE FUNCTION TO ACCESS CONVERTION FOR DATE.

Status
Not open for further replies.

fernandezduk

IS-IT--Management
Jan 7, 2003
16
US
Hi all,

I have a function that states the following.

select
count
FROM
helpdesk
WHERE
STATUS IN (5, 4)
AND ASSIGNED_TO_GROUP_ IN ('HelpDeskEurope')
AND CREATE_TIME >=
((sysdate-to_date('01.01.70','dd.mm.rr'))*(60*60*24));

The date function converts a date to UTR date i.e. Number of seconds since 1970.

MY question is how do I convert this to Access PLEASE PLEASE PLEASE.

Thanks in advance.


Fingers Fernandez
Helping the world be a better place!!!
Have a nice day
 
The number of seconds since 1/1/1970 is
DateDiff("s",#1/1/1970#,now())

Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top