Moriarty Posted September 22, 2015 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 135 Reputation: 13 Joined: 06/20/12 Last Seen: April 14, 2018 Share Posted September 22, 2015 We lack functions like UNIX to Date conversion and vice versa.I know these are available thru SQL, but we're not always working with database. Quote Link to comment Share on other sites More sharing options...
Cydh Posted October 20, 2015 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Share Posted October 20, 2015 something like the SQL FROM_UNIXTIME? Quote Link to comment Share on other sites More sharing options...
Zell Posted October 20, 2015 Group: Members Topic Count: 53 Topics Per Day: 0.01 Content Count: 412 Reputation: 266 Joined: 04/25/12 Last Seen: 23 hours ago Share Posted October 20, 2015 (edited) +1 for thisAnd it will be a nice a extra statement to "set" commandset <varname>,<value>,{<time>}Sample: if(time==1){ mes "Your 10 seconds are UP!"; close; } mes "I will give you 10 seconds."; close2; set time,1,10; end; This is more fast and easy than addtimer or sleeps, dont? Edited October 20, 2015 by Zell Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 21, 2015 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: 13 hours ago Share Posted October 21, 2015 I believe he want a script command like this. Work exactly like the FROM_UNIXTIME Quote Link to comment Share on other sites More sharing options...
Cydh Posted October 21, 2015 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 747 Joined: 06/16/12 Last Seen: February 21 Share Posted October 21, 2015 Then I was thinking. Just make global function for MySQl time functions. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.