Raised This Month: $51 Target: $400
 12% 

Solved Time expired?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 08-24-2018 , 07:40   Time expired?
Reply With Quote #1

Is there any method to check whether a specified time has passed? I'm not sure whether parse_time would work since it didn't work with %D format, I want %R format for the time.

EDIT: Without UNIX
__________________

Last edited by edon1337; 08-24-2018 at 09:18.
edon1337 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-24-2018 , 07:53   Re: Time expired?
Reply With Quote #2

%D/%R and such won't work with amxx's implementation of strptime(so they won't work with parse_time but will work with format_time).
You can use the long format instead of %R, "%H:%M".
__________________

Last edited by HamletEagle; 08-24-2018 at 07:53.
HamletEagle is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode