EOS.IO C语言API手册

current_time

获取最后接受块的UNIX时间,为1970开始的以秒为单位计数。

返回值

最后块的unix时间。

示例代码

time current_time = now();