Add getWeekDay
Add script sample for DateTime