merkaba22 Posted June 25, 2010 Posted June 25, 2010 Is there a simple way to add, say 30 minutes to a specific time -- for example, for the value "9:30" the calc creates "10:00"?
Mark Reed Posted June 25, 2010 Posted June 25, 2010 here is a sample file showing how to accomplish this timesample.zip
Lee Smith Posted June 25, 2010 Posted June 25, 2010 (edited) I guess merkaba22 didn't get your hint Daniele. Your calculation can be expressed as: YourTimeField + 1800 Lee Edited June 25, 2010 by Guest
merkaba22 Posted June 25, 2010 Author Posted June 25, 2010 These suggestions are great but now I realize one of the reasons my earlier ideas and then these don't work is because the data is in a "time" field but in "military" time; ie. "9:30" is entered as 0930. Accordingly, I need to be able to have 0930 become 1000 and 1000 become 1030
Raybaudi Posted June 25, 2010 Posted June 25, 2010 Can you explain better how exactly you enter data into that time field ? ( because if you enter 0930, you have entered 930 hours )
merkaba22 Posted June 25, 2010 Author Posted June 25, 2010 Data is entered military style as "1330" not "1:30" ie., without the colon (":") ... therein lies the difficulty ...
Raybaudi Posted June 25, 2010 Posted June 25, 2010 You could type the same time into a text field ( or even into a number field ). Having 0930 into a time field is the same as having 930:00:00. BTW: try this calculation: Time ( Left ( MilitaryField ; 2 ) ; Right ( MilitaryField ; 2 ) + 30 ; 0 ) ( format this field to show ONLY hhmm w/o a separator and with leading zero into hours and, from field's behavior, do not give access to this field )
Recommended Posts
This topic is 5323 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