Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Threaded Mode
Is Date passed
MerryDeer
Banned
Posts: 723
Threads: 366
Joined: Jun 2016
#1
14.01.2017, 12:31
Hi,
I have specific date ex:
2018-05-01
How in timer check is this date is passed?
Find
Reply
SyS
High-roller
Posts: 1,939
Threads: 11
Joined: Oct 2015
Reputation:
0
#2
14.01.2017, 12:55
No need to use that you can use
getdate
function
https://sampwiki.blast.hk/wiki/Getdate
Pass three variables as reference to this function and do the checking numerically.
Find
Reply
BiosMarcel
Banned
Posts: 1,219
Threads: 51
Joined: Jul 2012
#3
14.01.2017, 13:12
*Cough* Totally not advertising my stuff *Cough*
i think i catched a cold
You could use something like this:
https://github.com/Bios-Marcel/DateU...r/DateUtil.inc
This is not for strings though, but you could split the strings to get the single variables!
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help