Getting UNIX timestamp with HTTP function.
#1

I am not familiar with HTTP functions, nor i know how they work, so i am asking if it's possible.
If yes, how?

I am using MySQL to get current UNIX timestamp, but there should be an better way
Reply
#2

Quote:
Originally Posted by Skorch
Посмотреть сообщение
I am not familiar with HTTP functions, nor i know how they work, so i am asking if it's possible.
If yes, how?

I am using MySQL to get current UNIX timestamp, but there should be an better way
It is possible if you write or find an appropriate web service to do it.

If you want the time stamp for now then you don't need HTTP. Use the return value of gettime

https://sampwiki.blast.hk/wiki/Gettime
Reply
#3

Quote:
Originally Posted by Simon
Посмотреть сообщение
It is possible if you write or find an appropriate web service to do it.

If you want the time stamp for now then you don't need HTTP. Use the return value of gettime

https://sampwiki.blast.hk/wiki/Gettime
Thanks, gettime function will do
Didn't notice that it returns UNIX timestamp
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)