#include <iostream>
      #include <ctime>
      
      time_t t = time(NULL);
      tm* timePtr = localtime(&t);
      cout << "minutes = " << (timePtr->tm_min) << endl;
      
      C language logo

      Get current minutes

      0

      0

      avatar
      Giovanny Gongora
      Codiga's C++ Recipes

      Display the current amount of seconds

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.