03 Jul '17, 11pm

@yuchua

@yuchua

Digest: Dates with JavaScript Posted on 25 Jan 2017 by Ng Zhi An This post is about the various ways you can create a Date in JavaScript, both documented and undocumented, how it works under the hood, and the (maybe surprising) results you get. I first came across this while working on NUSMods and Flow warned that passing an array of values to Date is not valid. However if you actually try it, say in node interpreter or in your browser’s console, it works: new Date([2016, 8, 8]) > Mon Aug 08 2016 00:00:00 GMT+0800 (SGT) And indeed, this is not a specified way of constructing a Date - you don’t see it in MDN reference for Date . However, my code still ran fine. And when I tried to change it to use multiple arguments instead, the result was different: new Date(2016, 8, 8) > Thu Sep 08 2016 00:00:00 GMT+0800 (SGT) Notice how it is Sep now instead of Aug. But if I passed in a ...

Full article: http://nushackers.org/2017/01/digest-dates-with-javascript/

Tweets

This Month's Most Important Air Jordan Release ...

solecollector.com 03 Jul '17, 2pm

Air Jordan releases for July get off to a quick start with the all-red suede "Flight Suit" edition of the Air Jordan 5 hit...

How do you get the Ruby on Rails generated id o...

stackoverflow.com 03 Jul '17, 12pm

@duskwuff I think you're making comments without understanding that both examples are two special cases of the same genera...

2017 SkS Weekly Climate Change & Global Warming...

skepticalscience.com 02 Jul '17, 9pm

2017 SkS Weekly Climate Change & Global Warming Digest #26 2017 SkS Weekly Climate Change & Global Warming News Roundup #2...

How JavaScript impacts page loading speed on mo...

searchenginewatch.com 01 Jul '17, 9am

“As a rule, it’s worth sticking to the principle of progressive enhancement – delivering a site that works without JavaScr...

Build a Website by ashsyed

freelancer.com 03 Jul '17, 6pm

I have an existing fully working RoR (Rails 4 and Ruby 2.2 ) application, I'm looking for a RoR developer to perform the r...

#FridayHug: #Elixir, Ruby On #Rails, #JavaScrip...

icicletech.com 30 Jun '17, 9pm

Friday Hug is a weekly list of best articles & tutorials from all across the web, curated by @icicletech team which covers...

.@Drake announce the #HAW dates

[email protected] announce the #HAW dates

hypebeast.com 05 Jul '17, 3am

Drake took to Instagram earlier today to announce this year’s H.A.W., or Houston Appreciation Weekend . It’s the festival’...

Job Alert: Ruby on Rails / JavaScript Developer...

jobsinnetwork.com 26 Jun '17, 12pm

As an experienced developer you will be responsible as project lead for individual clients. You support the team in archit...

Golf Digest's Jaime Diaz receives Met Golf Writ...

golfdigest.com 27 Jun '17, 6pm

Golf Digest senior writer Golf World editor-in-chief Jaime Diaz received the Lincoln Werden Golf Journalism award on Monda...

RUBY ON RAILS (WEB-APP) AND ANDROID PROJECT by ...

freelancer.com 04 Jul '17, 11am

I am looking for someone who is a ruby on rails and android developer with prior experience with RESTFUL architecture. I w...

#bitcoin

#bitcoin

bitcoinmagazine.com 03 Jul '17, 6pm

However, currently only some 40 to 45 percent of hash power is signaling readiness for BIP141. This is why a segment of Bi...