Index: samples/time/time_server.dart |
diff --git a/samples/time/time_server.dart b/samples/time/time_server.dart |
index 1a872f02c38a98d796c0cc1ad1c17d3d7ebf8deb..067d05eef790c58654c2ab2e5c6e9e707c7b9c6f 100644 |
--- a/samples/time/time_server.dart |
+++ b/samples/time/time_server.dart |
@@ -47,7 +47,7 @@ String createHtmlResponse() { |
</style> |
<body> |
<br/><br/> |
- <p>Current time: ${new Date.now()}</p> |
+ <p>Current time: ${new DateTime.now()}</p> |
</body> |
</html> |
'''; |