AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   get time (https://forums.alliedmods.net/showthread.php?t=335034)

MacL 11-04-2021 18:24

get time
 
how can I get time? i dont mean VPS time, i mean something like this:
get_time(country = usa, "%H);

lexzor 11-04-2021 19:36

Re: get time
 
https://www.amxmodx.org/api/amxmodx/get_systime
with
https://forums.alliedmods.net/showthread.php?t=91915

or

https://www.amxmodx.org/api/amxmodx/get_time

Code:

Note
Uses the strftime C function. For a list of valid format parameters,
see: http://cplusplus.com/reference/clibrary/ctime/strftime.html
A common example for a format string would be: "%m/%d/%Y - %H:%M:%S"



All times are GMT -4. The time now is 11:31.

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