Post new topic Reply to topic  [ 5 posts ] 

Board index : TeleFlow Forums : Feature Suggestions

Author Message
 Post subject:
PostPosted: Mon Jul 19, 2004 6:55 am 
Offline

Joined: Mon Mar 15, 2004 3:55 pm
Posts: 35
Location: USA
There is a date info step. <br> <br>A time info step is needed. <br> <br> <br>1) Return current time as: <br> <br> a) HH:MM:SS AM <br> <br> b) 24:MM:SS <br> <br> c) seconds since midnight (for elapsed time caclulations) <br> <br> d) return time calculated from total seconds supplied as argument <br> <br> <br>2) Return current active time zone. EST, CST, etc. <br> <br>3) Return time for requested time zone.


Back to top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 27, 2004 1:37 pm 
Offline

Joined: Wed Mar 19, 2003 4:28 pm
Posts: 510
Location: Canada
This has been added to the list as a potential future update, but has not been assigned a start date at this time. <br> <br>If and when this step is developed, an update will be posted here. <br> <br>Some of what you are looking for is currently possible in other ways, as follows: <br> <br>1a) Since the @TIME TeleFlow system variable supplies the current time in 24-hour format, you can chop the first 2 numbers from it into a separate string. Then, with a little more chopping, check if the first character is a 0. If it is, it is in the AM. Otherwise, check if the 2 characters (Eg. 13 for 1 PM) are > 12, if so, deduct 12 from it, and reconstruct your string with PM on the end. <br> <br>b) @TIME returns what you are looking for on this one, I believe. <br> <br>c) @CALL_START has the seconds since midnight as of when the last phone call starts. If you add @CALL_ELAPSE (the number of seconds since the call started) to this you get the seconds since midnight at the current time. This, unfortunately, only works during a phone call. <br> <br>d) Do you mean total seconds since midnight?


Back to top
 Profile WWW 
 
 Post subject:
PostPosted: Fri Jul 30, 2004 4:41 pm 
Offline

Joined: Mon Mar 15, 2004 3:55 pm
Posts: 35
Location: USA
d) Do you mean total seconds since midnight? <br> <br>By supplying a second count of any amount it should be able to be converted to hh:mm:ss, either elapsed or real time. <br> <br>e.g. s1 = 1st capture of total elapsed seconds since midnight. s2 = seond capture of total elapsed seconds since midnight. s3 = s2 - s1. <br>s3 conversion will give you total elapsed time (in seconds) and should also be able to be converted via step to total elapsed time in hh:mm:ss format. Any total elapsed seconds since midnight should be able to convert to current time hh:mm:ss, standard or military. Even cross midnight boundry calcs are not a problem because if s2 < s1 then s3 = ( 86400 - s1 ) + s2.


Back to top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 02, 2006 4:24 pm 
Offline

Joined: Wed Mar 19, 2003 4:29 pm
Posts: 43
Location: Vancouver
Other means of getting Date and Time information: <br> <br>1) Environment Variables: See the DLL example in the Samples. <br> <br>2) Database: Select Date, Time from null <br> <br>3) Internet source: Use HTTP requests. <br> <br>4) @UNIX_TIME variable (check TeleFlow Help. There may be others there too) <br> <br>We will add a few more system variable to help. But, your best and quickest bet is to read the environment variables.


Back to top
 Profile WWW 
 
 Post subject:
PostPosted: Fri Feb 03, 2006 1:21 pm 
Offline

Joined: Wed Mar 19, 2003 4:29 pm
Posts: 43
Location: Vancouver
For time after midnight the @UNIX_TIME system variable should be used. Simple seconds-since-midnight can tricky because you cannot do time calculations across the midnight boundary. So, go with this example: <br> <br> @START_TIME = @UNIX_TIME <br> ... <br> a bunch of stuff you want to calculated the time for <br> ... <br> @ELAPSED_TIME = @UNIX_TIME - @START_TIME


Back to top
 Profile WWW 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Board index : TeleFlow Forums : Feature Suggestions


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Style by Midnight Phoenix & N.Design Studio
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.