Win10 doesn't have it out of the box, but third-party software that implements it (like f.lux) has been available for a very long time.
(Also, FWIW, Win10 insider builds do have it out of the box.)
(Also, FWIW, Win10 insider builds do have it out of the box.)
Shipping this feature out of the box with an OS install started happening only recently (e.g. Night Shift came to iOS only 1 year ago, Windows 10 is getting it just now, AOSP has a "secret" knob to turn it on and it's enabled in 3rd party ROMs, etc).