[b][size=150]Infos[/size][/b]
[list]
[*]Type: Mod
[*]Name: TimeTools
[*]Description: Adds a tiny time toolbar at the top of the UI, that displays an ingame clock, allows to switch from night-and-day mode to continuous daylight and to tweak game speed. Also adds a Clock Combinator item to have access to time/daylight/luminosity variables through the logistic network.
[*]License: You are free to use, distribute and modify this mod for personal use, but not to release a modified version without permission.
[*]Version: 1.0.11
[*]Release: 2016-06-12
[*]Tested-With-Factorio-Version: 0.12.35
[*]Multiplayer compatible: tested on a headless server...
[*]Locale: english, french, german
[*]Tags: Time, Daylight, Game speed, Clock combinator[/list]
[attachment=2]timetools-screencopy7.jpg[/attachment]
[spoiler=Description][b][size=150]Description[/size][/b]
The time button on the left displays the current ingame day and time (dd-hh:mm). Note that it is different from your playing time in real seconds (as a mod like [url=https://forums.factorio.com/viewtopic.php?f=92&t=13837]EVO-GUI[/url] can display it). It is the time corresponding to the ingame days and night cycle.

If you click on the time button, it pauses the time (but not the game) and the time becomes red. Click again to resume ; the time becomes green again
[attachment=9]timetools-screencopy1.jpg[/attachment]
If you click on the second button, it switches between classical night/day mode and continuous daylight (where time is frozen at 12:00).
[attachment=6]timetools-screencopy4.jpg[/attachment]
With the three last buttons, you can tweak the game speed :
- click on "<" or ">" to decrease or increase game speed from /8 to x64.
- click on the game speed button to directly revert to x1 normal speed, or to switch instant to last memorized speed if you are already in normal speed.
[attachment=8]timetools-screencopy2.jpg[/attachment]
[attachment=7]timetools-screencopy3.jpg[/attachment]
If you did researched the Circuit Network technology, you now have access to a Clock Combinator item that provides an access to several variables/signals :
[list]
[*]current game tick (from the beginning of the game)
[*]current day
[*]current hour
[*]current minute
[*]always day status (0: night&day, 1: always daylight)
[*]current darkness (from 0 to 100%)
[*]current lightness (from 0 to 100%), inverse of darkness.[/list]
[attachment=5]timetools-screencopy5.jpg[/attachment]
If you want to change the clock settings, you can use the remote interface from the console :
/c remote.call( "timetools", "setclock", hour.minute )  ex: /c remote.call( "timetools", "setclock", 9.27 ) to set at 09:27am
/c remote.call( "timetools", "setday", day )

You can also edit the config.lua file if you want to lower the maximum speed, or change the clock refresh rate.[/spoiler]
[spoiler=History][b][size=150]History[/size][/b]
[list]
[*]1.0.11 = Improved gui refresh. Reduced size in the top bar.
[*]1.0.9 = Update always_day if changed by another mod. Add interface frozen.
[*]1.0.7 = No more limitation for the clock combinator to be in a logistic network. Can be placed and works everywhere.
[*]1.0.6 = Memorize last speed for quick speed switching. Release stress on Combinator Clock refresh.
[*]1.0.5 = Improves multiplayer compatibility when config changes.
[*]1.0.4 = Improves multiplayer compatibility. Add a reset to the interface.
[*]1.0.3 = Change remote interface to set current day and current clock separately.
[*]1.0.2 = Adds locale for german (thanks to Apcnc) and french (my own language).
[*]1.0.1 = Introduces Clock Combinator and time freeze, new buttons. Adds multiplayer compatibility.
[*]1.0.0 = Initial release with a simple Time Bar.[/list][/spoiler]
[b][size=150]Download[/size][/b]
[attachment=0]TimeTools_1.0.11.zip[/attachment]
[attachment=1]TimeTools_1.0.9.zip[/attachment]
[attachment=3]TimeTools_1.0.7.zip[/attachment]
[attachment=4]TimeTools_1.0.5.zip[/attachment]

You can probably find some of these features in other separate mods, but I gather them into one simple mod with atiny gui bar.

Thanks for GopherAtl and his [url=https://forums.factorio.com/viewtopic.php?f=93&t=14671]Nixie Tubes[/url] mod that I use to display numbers in my last screenshot.

The classic display of the first screenshot is from my [url=https://forums.factorio.com/viewtopic.php?f=93&t=24720]SmartDisplay[/url] mod.