Interesting time output with TimeCurrent()

Back to topics list To post a new topic, please log in or register
lovromirnik 2015.02.09 23:30

I was hoping someone would be able to explain to me why TimeCurrent() used while defining an integer returns such a crazy value:

int TimeNow = TimeCurrent();
Print("TimeNow = " + TimeNow);

An example output:

TimeNow = 1423501132

This would be the time at 22:58:53.647.

Interesting isn't it?

GumRai 2015.02.10 00:56 #

Not interesting at all. It is expected

Read the documentation for datetime

TimeCurrent returns a datetime type 

Back to topics list  

To add comments, please log in or register