SA-MP Forums Archive
Help me please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help me please (/showthread.php?tid=658128)



Help me please - BigSmokeBB - 24.08.2018

How do you compare a date with another date to know how many days are left to meet that date, for example today is 23/08 and expires on 09/23, which calculation would be 30 days


Re: Help me please - BigSmokeBB - 24.08.2018

I using sqlite.


Re: Help me please - JasonRiggs - 24.08.2018

this would help you a lot


Re: Help me please - BigSmokeBB - 24.08.2018

You did not understand I need to compare 2 dates with sqlite not know the date ..


Re: Help me please - JasonRiggs - 24.08.2018

This doesn't make you "know" the date.. It stores the date in a variable then you can compare after making a timer.. It doesn't matter whether its sqlite or mysql or anything..


Re: Help me please - Jefff - 24.08.2018

https://www.sqlite.org/lang_datefunc.html