What is more "normal" than Moodle getting a date from Linux (
UNIX), like 1447384951. It is only people who are not normal! 🤔
As far as I know, in Moodle's
database, the Linux time is used. "Normal" people will sometimes see these dates like calendar dates in some of Moodle's reports, but that is because a programmer knew what format they wanted to appear in their "normal" world. In
SQL, you can do whatever you want.
If you are not good with SQL, or using a report from Moodle, Excel can do anything, too. Where you find it easier to apply a formula is really up to you.
In Excel, you can create your own User-Defined functions. This is what I would do if I was finding myself recreating a formula too often.
I decided to take this non-normal approach in replying to you. I do not mean to be offensive.