I'm trying to write an event triggered on login to read a last system time(ms) variable to output the players last login time to the chatbox.
It successfully places the last login time to the variable, and successfully reads the variable and outputs the (ms)Â value to the chatbox as millisecond values, though this means nothing to the players nor myself. Is there any way I can use this (ms) time and convert it to a human readable format like dd/mm/yyyy hh:mm to display in the chat box??
Question
TheKezStrel
Hi all,
Â
I'm trying to write an event triggered on login to read a last system time(ms) variable to output the players last login time to the chatbox.
It successfully places the last login time to the variable, and successfully reads the variable and outputs the (ms)Â value to the chatbox as millisecond values, though this means nothing to the players nor myself. Is there any way I can use this (ms) time and convert it to a human readable format like dd/mm/yyyy hh:mm to display in the chat box??
Â
Thanks in advance y'all.
TheKezStrel
Link to comment
Share on other sites
1 answer to this question
Recommended Posts