th-nowq: Template Haskell splice that expands to current time

[ bsd3, library, template-haskell ] [ Propose Tags ]

TH splice that expands to current time as a string literal in ISO-8601 format. Can be used to embed the compilation timestamp in your application.

[Skip to Readme]
Versions [RSS] [faq],,,,,
Change log
Dependencies base (<5), template-haskell, time [details]
License BSD-3-Clause
Author Dmitry Dzhus
Category Template Haskell
Home page
Bug tracker
Source repo head: git clone
Uploaded by DmitryDzhus at 2020-06-03T22:58:02Z
Distributions LTSHaskell:, NixOS:, Stackage:
Downloads 2180 total (25 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-06-04 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees


Readme for th-nowq-

[back to package description]


Build & test Hackage Hackage deps

{-# LANGUAGE TemplateHaskell #-}
import Language.Haskell.TH.Now

main :: IO ()
main = print $ "Running app compiled on " ++ $(nowQ)