get year,month,day from timestamp
#1

Hi,

What is good function to get year,month,day, hour,minute from timestamp?
Reply
#2

TimestamptoDate.inc
****** it.
Reply
#3

Try ... https://sampwiki.blast.hk/wiki/Getdate

And maybe that ... https://sampwiki.blast.hk/wiki/Gettime

And here you go.
Reply
#4

TimestamptoDate.inc

This function works with any stamp?
Reply
#5

Yes.

PHP код:
TimestampToDate(Timestamp, &year, &month, &day, &hour, &minute, &secondHourGMTMinuteGMT 0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)