Assuming there's a field in your model with the current time, I'd just make 
a message SetStartTime which makes the update function return { model | 
startTime = currentTime }.

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to