added datetime example functionality