Hello all.

So, I'm struggling with Systemtime in C++
I made strings to Hour, Minute and Second.
Here they are.

String^ GrabHour()
{
DateTime GetDateTimeInfo = DateTime::Now;
GetDateTimeInfo.Hour.ToString();
return GetDateTimeInfo.Hour.ToString();

}
String^ GrabMinute()
{
DateTime GetDateTimeInfo = DateTime::Now;
GetDateTimeInfo.Minute.ToString();
return GetDateTimeInfo.Minute.ToString();

}
String^ GrabSecond()
{
DateTime GetDateTimeInfo = DateTime::Now;
GetDateTimeInfo.Second.ToString();
return GetDateTimeInfo.Second.ToString();
}

Now the problem is. If the System time is 07, the String shows 7,
But I need to have two numbers. Not 7 but, 07. Otherwise my program won't functioning.

My question now is, is there a way to "int" 7 = 07 or something?
Or is there a FULL method to get the time, only the time. Not the date?

Thanks