date methods and practice explained