example 2.4 ShowCurrentTime