DjSt3rios Posted January 27, 2012 Share Posted January 27, 2012 Hello. I was wondering if it's possible to convert Date to Millisecond, and if possible the opposite too. If anybody knows a way please tell me. Link to comment
JR10 Posted January 27, 2012 Share Posted January 27, 2012 What do you mean? Perhaps this: getTickCount Link to comment
DjSt3rios Posted January 27, 2012 Author Share Posted January 27, 2012 Hmm yeh almost, but I am not sure if this can make the work. I want to count like weeks. I want something that takes weeks, and I Want to compare two dates. If you have any other idea please let me know. I am going to give it a try anyway. Edit: Well this counts the time from the time server starts, but it's not what I need Link to comment
Orange Posted January 27, 2012 Share Posted January 27, 2012 https://wiki.multitheftauto.com/wiki/GetRealTime Link to comment
DjSt3rios Posted January 27, 2012 Author Share Posted January 27, 2012 I used getRealTime with a lot of calculations and I made it work. Thanks for the help. 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