Skip to content
Advertisement

Converting Excel Date Serial Number to Date using Javascript

I have the following javascript code that convert date (string) to the Date Serial Number used in Microsoft Excel:

JavaScript

So, how do I do the reverse? (Meaning that a Javascript code that convert the Date Serial Number used in Microsoft Excel to a date string?

Advertisement

Answer

Try this:

JavaScript

Custom made for you 🙂

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement