Skip to content

Instantly share code, notes, and snippets.

@andyhawthorne
Created August 26, 2012 20:32
Show Gist options
  • Save andyhawthorne/3483415 to your computer and use it in GitHub Desktop.
Save andyhawthorne/3483415 to your computer and use it in GitHub Desktop.
Basic erb file
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<meta name="description" content="" />
<meta name="keywords" content="" />
</head>
<body>
The date is: <%= @time.strftime("%d-%m-%Y %H:%M:%S")%>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment