Timestamp Timestamp::timeNow() { //build a Timestamp object Timestamp result; //set the time to the current system time result.setTimeNow(); //return the Timestamp object return result; }