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 / General 1 / November 2004

Tip: Looking for answers? Try searching our database.

Format field to 'Date'

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rafi Kfir - 09 Nov 2004 09:22 GMT
HI,

1) I'm using a program that save data automatically into a database.
I'm using access to view the data using queries.  In the 'StartDate'
field the data appears as a number (e.g. 38299.6143981482).

What can I do in order to view this data as TIME/DATE?

2) In another field that data is in seconds.  How can I format it to
show HH:MM:SS ?

Thanks
Rafi
Bas Cost Budde - 09 Nov 2004 11:14 GMT
> HI,
>
[quoted text clipped - 3 lines]
>
> What can I do in order to view this data as TIME/DATE?

I'd say (in the query design) choose that column, view properties,
choose Long Date as format. Or, use a custom format string.

> 2) In another field that data is in seconds.  How can I format it to
> show HH:MM:SS ?

First, divide by 86400 (the number of seconds in one day). Then, format
as above.
 
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.