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]


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,
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:
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2727 total (24 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-06-04 [all 1 reports]

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)