[#CBlockIndex-GetBlockTime] = xref:CBlockIndex.adoc[CBlockIndex]::GetBlockTime :relfileprefix: ../ :mrdocs: Returns this block's timestamp. == Synopsis Declared in `<chain.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int64_t GetBlockTime() const; ---- == Return Value The block time in seconds since the Unix epoch. [.small]#Created with https://www.mrdocs.com[MrDocs]#