i want to use system time in my code for having the record of time when the data is captured from the user interface.how to get system time using Haskell.
You can use getCurrentTime from Data.Time.Clock.
Data.Time.Clock