diff --git a/shinken/external_command.py b/shinken/external_command.py
index <HASH>..<HASH> 100644
--- a/shinken/external_command.py
+++ b/shinken/external_command.py
@@ -409,7 +409,7 @@ class ExternalCommandManager:
         # Ok we remove the [ ]
         ts = ts[1:-1]
         try:  # is an int or not?
-            self.current_timestamp = int(ts)
+            self.current_timestamp = to_int(ts)
         except ValueError:
             logger.debug("Malformed command '%s'" % command)
             return None
Fix : replace int by to_int for timestamp is external_commands. Thanks @matthieucan