`|Redis Documentation| `_
**LastsaveCommand: Contents**
`LASTSAVE <#LASTSAVE>`_
`Return value <#Return%20value>`_
LastsaveCommand
===============
#sidebar `ControlCommandsSidebar `_
LASTSAVE
========
Return the UNIX TIME of the last DB save executed with success.A
client may check if a `BGSAVE `_ command
succeeded reading the LASTSAVEvalue, then issuing a
`BGSAVE `_ command and checking at regular
intervalsevery N seconds if LASTSAVE changed.
Return value
------------
`Integer reply `_, specifically an UNIX time
stamp.
.. |Redis Documentation| image:: redis.png