new version of getSystemDateAndTime method