get_clock


Description:

public virtual unowned string get_clock (bool time_only)

Gets the current clock string, if time_only is true this will be just the current time, otherwise the date + time.

Parameters:

this

The wall clock

time_only

whether to return full clock string or just the time

Returns:

the clock time string