Vincent Posted July 23, 2013 Share Posted July 23, 2013 Hi, i try to save the date into a variable. [email protected]_new = gettimestr("%Y-%m-%d",21); But the variable save's only the year 2013 as date. The problem is the "-" between Y-M-D. How can i save the hole date as var with the "-". Quote Link to comment Share on other sites More sharing options...
Brian Posted July 23, 2013 Share Posted July 23, 2013 You could store it in a string ([email protected]_new$) instead of an integer variable ([email protected]_new) 1 Quote Link to comment Share on other sites More sharing options...
Vincent Posted July 23, 2013 Author Share Posted July 23, 2013 That was easy. Thanks Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 27, 2013 Share Posted July 27, 2013 [email protected]_new = atoi( gettimestr("%Y%m%d",21) ); you can do like this .... Quote Link to comment Share on other sites More sharing options...
Hi,
i try to save the date into a variable.
But the variable save's only the year 2013 as date. The problem is the "-" between Y-M-D. How can i save the hole date as var with the "-".
Link to comment
Share on other sites