astralprojection 35 Posted April 3, 2016 I had been looking to convert this time stamp to string format like set .@unban_time,1460968293; mes .@unban_time // but at string format below like gettimestr("%Y-%m-%d %H:%M:%S",21) so that i can export to sql query. Can you help? Thank you Quote Share this post Link to post Share on other sites
0 Cretino 48 Posted April 3, 2016 Try this: .@unban_time = 1460968293; query_sql "SELECT FROM_UNIXTIME('"+.@unban_time+"', '%Y-%e-%d %H:%i:%s')", .@format$; mes .@format$; close; Quote Share this post Link to post Share on other sites
0 astralprojection 35 Posted April 4, 2016 it did good. thank you sir. Quote Share this post Link to post Share on other sites
I had been looking to convert this time stamp to string format like
Share this post
Link to post
Share on other sites