Adolfram Posted September 9, 2016 Share Posted September 9, 2016 is there any way to convert a date format to timestamp? i tried to require someone's script but it said it was an unsafe function, also os class won't work Link to comment
Dimos7 Posted September 9, 2016 Share Posted September 9, 2016 (edited) local r. = getRealTime() r.timestamp local timestring = ("%02d-%02d- %04d %02d-%02d-%02d):format( r.timestamp) Edited September 9, 2016 by Dimos7 Link to comment
koragg Posted September 27, 2016 Share Posted September 27, 2016 This can be useful as well, for further formatting : https://wiki.multitheftauto.com/wiki/FormatDate Link to comment
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