Created
August 18, 2014 18:39
-
-
Save adagio/063ad3ee63cea2ea2764 to your computer and use it in GitHub Desktop.
Formatted date and time in RoR View
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="thisinstant"> | |
<div class="date">Date: <%= @strdate %></div> | |
<div class="time">Time: <%= @strtime %><div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment