text: /***********************************************************************
  **************Copyright (c) 2009-2010 Satoshi Nakamoto******************
  ***********Copyright (c) 2009-2012 The Bitcoin developers***************
  *************Copyright (c) 2015-2017 The PIVX developers****************
  ******************Copyright (c) 2010-2019 Nur1Labs**********************
  >Distributed under the MIT/X11 software license, see the accompanying
  >file COPYING or http://www.opensource.org/licenses/mit-license.php.
  ************************************************************************/
  
  #ifndef MUBDI_UTILTIME_H
  #define MUBDI_UTILTIME_H
  
  #include <stdint.h>
  #include <string>
  
  int64_t GetTime();
  int64_t GetTimeMillis();
  int64_t GetTimeMicros();
  void SetMockTime(int64_t nMockTimeIn);
  void MilliSleep(int64_t n);
  
  std::string DateTimeStrFormat(const char* pszFormat, int64_t nTime);
  std::string DurationToDHMS(int64_t nDurationTime);
  
  #endif /* MUBDI_UTILTIME_H */