Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / May 2005

Tip: Looking for answers? Try searching our database.

how can I display the date from a number of seconds given?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lady Lexly - 11 May 2005 17:20 GMT
As the expression: =Format(Now(), "y")  displays the number of the day of the
year the current date represents, where y is 1 through 366.... I need the
antonym funtion of this, in order to get a date from a specific number of
seconds given.
Could somebody help me on this matter?
Thanks in advance for your help
Rick B - 11 May 2005 19:31 GMT
A date from a number of seconds given?  Huh?

If I tell you "120 seconds", what date would you expect to see?

I don't understand the question.

Signature

Rick B

> As the expression: =Format(Now(), "y")  displays the number of the day of the
> year the current date represents, where y is 1 through 366.... I need the
> antonym funtion of this, in order to get a date from a specific number of
> seconds given.
> Could somebody help me on this matter?
> Thanks in advance for your help
Rick B - 11 May 2005 19:40 GMT
Aha!  sounds like you want to know the number of seconds from the beginning
of the year.  It seems to me that there are 86,400 seconds in a day, so take
whatever they give you and divide by 86,400.  That will give you the number
of days.  I am still not sure how to return a DATE though.  Since I am not
sure where your starting point would be.

Signature

Rick B

> As the expression: =Format(Now(), "y")  displays the number of the day of the
> year the current date represents, where y is 1 through 366.... I need the
> antonym funtion of this, in order to get a date from a specific number of
> seconds given.
> Could somebody help me on this matter?
> Thanks in advance for your help
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.