<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">NFD is real code, so you should be using ndn::time::* routines for what you want to accomplish.  For example, ndn::time::steady_clock::now()<div class=""><br class=""></div><div class="">When inside ndnSIM, these time routines are internally redirected to the simulation time and if you happen to compile your code as normal NFD application, it will use actual time information.</div><div class=""><br class=""></div><div class="">-</div><div class="">Alex<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Feb 27, 2019, at 4:09 AM, <a href="mailto:mdparamartha95@students.itb.ac.id" class="">mdparamartha95@students.itb.ac.id</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class="">I Would like to record referenced time of each data attach into Content Store, <br class=""><br class="">How to get the current time in NFD?<br class=""><br class="">Script " (Simulator::Now().ToDouble(Time::S)) ".<br class=""><br class="">Doesn't work in NFD environment.<br class=""><br class="">Any help very appreciate,<br class=""><br class="">Thanks<br class=""></div></div></blockquote></div><div class=""><div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></div>

</div>
<br class=""></div></body></html>