Newbies jnthpn Posted November 8, 2001 Newbies Posted November 8, 2001 I'm editing this company's "time card" application, I need to "Round" the minutes of this field to every quater, eg: if this employee start time of the day is: 09:07, I need it automatically turn it to 09:15; if it's 09:03 then I need it turn to 09:00. Is there any way I can do it? Thanks,
BobWeaver Posted November 8, 2001 Posted November 8, 2001 Round(YourTimeField/(15*60),0)*(15*60) BTW, 9:07 would normally round down to 9:00. 9:08 would round up to 9:15. Is this intentional? I worked on a timecard system once, and the owner didn't want the times to round down at all, because he wanted to keep track of who arrived 5 minutes late all the time. [ November 08, 2001: Message edited by: BobWeaver ]
Recommended Posts
This topic is 8487 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now