in reply to Re^2: Getting system time in a specific format
in thread Getting system time in a specific format

I need to save it to a variable instead of printing actually

Hi perl_mystery, the printf documentation gives the name of the function that puts it in a variable

  • Comment on Re^3: Getting system time in a specific format