When i use “timestamp: new Date()” i get this "Sun Apr 03 2016 16:31:10 GMT+0200 (W. Europe Daylight Time)"
I dont want to show that much data when i print timestamp.
How do i modify what data i want to print, i want to remove (W. Europe Daylight Time)?
Do the function Date() collect the time from my PC so it knows what timezone im in?
Yes, the browser knows your timezone from your operating system. Both JavaScript and moment will acknowledge that. moment.js is also timezone aware and allows you to do conversions.