diff --git a/daemon/core/time.cpp b/daemon/core/time.cpp
new file mode 100644
index 0000000..e3a2cda
--- /dev/null
+++ b/daemon/core/time.cpp
@@ -0,0 +1,45 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/**
+ * Copyright (C) 2014 Named Data Networking Project
+ * See COPYING for copyright and distribution information.
+ */
+
+#include "time.hpp"
+#include <time.h>
+#include <stdexcept>
+#include <sys/time.h>
+
+namespace ndn {
+namespace time {
+
+Point
+now()
+{
+#ifdef HAVE_RT
+
+  struct timespec t;
+  int res = clock_gettime(CLOCK_MONOTONIC, &t);
+  
+  if (res == -1) {
+    throw std::runtime_error("clock_gettime");
+  }
+  
+  return t.tv_sec * 1000000000 + t.tv_nsec;
+
+#else
+  // fallback to wall clock time
+
+  struct timeval tv;
+  int res = gettimeofday(&tv, 0);
+
+  if (res == -1) {
+    throw std::runtime_error("gettimeofday");
+  }
+  
+  return tv.tv_sec * 1000000000 + tv.tv_usec * 1000;
+  
+#endif
+}
+
+} // namespace time
+} // namespace ndn
diff --git a/daemon/core/time.hpp b/daemon/core/time.hpp
new file mode 100644
index 0000000..1299ab4
--- /dev/null
+++ b/daemon/core/time.hpp
@@ -0,0 +1,34 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/**
+ * Copyright (C) 2014 Named Data Networking Project
+ * See COPYING for copyright and distribution information.
+ */
+
+#ifndef NFD_CORE_TIME_H
+#define NFD_CORE_TIME_H
+
+#include "common.hpp"
+
+namespace ndn {
+namespace time {
+
+/** \class Duration
+ *  \brief represents a time interval
+ *  Time unit is nanosecond.
+ */
+typedef int64_t Duration;
+
+/** \class Point
+ *  \brief represents a point in time
+ *  This uses monotonic clock.
+ */
+typedef Duration Point;
+
+/// \return{ the current time in monotonic clock }
+Point
+now();
+
+} // namespace time
+} // namespace ndn
+
+#endif // NFD_CORE_TIME_H
