I'm trying to form a Javascript date that looks like "2015-12-31 07:12:49", and is using Vancouver time.
I've gone through these forums and tried a million different functions but can't successfully build the date.
I tried following this article, but it doesn't show how to format the date to MYSQL datetime. How to get Time of specific timezone using javascript?
Any help would be greatly appreciated!