Sign in to follow this  
Vadlmok

Bug to getRealTime?

Recommended Posts

Hi. 
A bug with the feature? Year 119 shows
 

local time = getRealTime()
    local hours = time.hour
    local minutes = time.minute
    local seconds = time.second

    local monthday = time.monthday
    local month = time.month
    local year = time.year

    local formattedTime = string.format("%04d-%02d-%02d %02d:%02d:%02d", year, month + 1, monthday, hours, minutes, seconds)
    outputChatBox(formattedTime, thePlayer,255,0,0,true)

Use serverside

Edited by Vadlmok

Share this post


Link to post

+1900 since the year of computer starts from 1900

Edited by thisdp
  • Like 1

Share this post


Link to post
On 25/02/2019 at 23:38, thisdp said:

+1900 since the year of computer starts from 1900

It's true. Please pay more attention to following information underneath the wiki page.

year years since 1900

 

ignore this:

@thisdp 灯泡活跃在各大论坛🤞

Share this post


Link to post
6 hours ago, 669344682 said:

It's true. Please pay more attention to following information underneath the wiki page.

year years since 1900

 

ignore this:

@thisdp 灯泡活跃在各大论坛🤞

what? wait a minute who are you?

ah i know who are u now.

Edited by thisdp

Share this post


Link to post
5 hours ago, thisdp said:

what? wait a minute who are you?

ah i know who are u now.

Your reputation is the highest level in Chinese.Love you bro  🤞!!!

Share this post


Link to post
4 minutes ago, 669344682 said:

Your reputation is the highest level in Chinese.Love you bro  🤞!!!

i am not a gay

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.