updating datepicker to use moment's native methods instead of accessing object directly
Merge pull request #368 from vernak2539/updating_datepicker_moment_use

updating datepicker to use moment's native methods instead of accessing object directly