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 / New Users / July 2006

Tip: Looking for answers? Try searching our database.

rounding off time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bre-x - 07 Jul 2006 20:52 GMT
Hi,
I am working on a Time Clock app for the shop employees.

I need to now how to "round time"
Example

if the employee sing in between 10:00 AM to 10:30  AM his/her start time
will be 10:00
if between 10:31 AM to 10:59 AM the start time will be 10:30

Thanks for your help

Bre-x
Bre-x - 07 Jul 2006 21:13 GMT
never mind
   dim  mm as integer
   Select Case Minute(Now())
   Case 0 To 30
       mm = 0
   Case 31 To 59
       mm = 30
   End Select

hehehe

> Hi,
> I am working on a Time Clock app for the shop employees.
[quoted text clipped - 9 lines]
>
> Bre-x
 
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.