Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Bootstrap DateRange Picker. Disregard Browser's Timezone.

Hi! I've got this script: https://github.com/dangrossman/bootstrap-daterangepicker

I'm having troubles over-ruling the timezone used to send and generate the visuals of the script.

I need to be able to send the script the Server's timezone somehow and it would generates the dates in that timezone.

So for example if I'm in GTM-4 and the server is using UTC. At 8:00PM it would be midnight on the server. So the date on my end Should be 19th, not 18th.

Thanks in advanced. :)