Flash1212 Posted September 14, 2007 Share Posted September 14, 2007 Hey I'm some what new to all of this and could really use some help. I'm trying to make a time stamp that will have a previous time with time added to it. For example in my script is displays a gui that has the time that the script began in it using the _nowtime(4) command but I would like to also display the time 30 minutes from then (start - 10:40 end - 11:10). Is there a way to do this where it will figure out that time for me? Thanks! **The only limit is what you believe they tell you it is** Link to comment Share on other sites More sharing options...
BillLuvsU Posted September 14, 2007 Share Posted September 14, 2007 Im not sure how a timestamp works off the top of my head but I believe its a string, so try parsing it and using the Number( ) func to do some math on it then convert it back. Use a message box with a timestamp to find out the format. [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw Link to comment Share on other sites More sharing options...
dbzfanatic Posted September 14, 2007 Share Posted September 14, 2007 You could always save the start time to a variable then call it for display later. Like $start = _nowtime(4) guictrlsetdata(whatever the name of the display is, $start & "end time" & _nowtime(4)) Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
Flash1212 Posted September 14, 2007 Author Share Posted September 14, 2007 Thanks, I will be sure to give both ideas try . **The only limit is what you believe they tell you it is** Link to comment Share on other sites More sharing options...
Recommended Posts
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