I don't know how to get the exact date and time with os.time(), I have tried searching it up, but have not come across any answers. What do I put to get the exact time in PST? Ex. December 16, 2057, 11:53:42 AM. I am trying to mark it down on HttpService, but this is the only part I need help with. When I put in os.time() it just gives me a bunch of numbers. Please help.
os.time() and tick() returns Epoch which is the number of seconds since January 1st, 1970
. The only difference is that os.time is UTC and tick uses the local machine time, you should use os.time for things like time difference between two visits for each player.
To convert this time e.g. 1476610679
we need to calculate how many years, months, days hours and minutes (all in seconds) to find the time.
I do have a basic module that calculates this using a logic based approach, there are better examples that use maths to find the date and time.
We currently need to calculate this as we do not have access to the functions that converts from epoch time into a usable date and time.