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??
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
Share this post
Link to post
Share on other sites