I would format the dates like this:
yyyy-MM-dd HH:mm:ss
which happens automatically from date objects. Your query will look something like:SELECT ... FROM table
WHERE t_stamp >= '{Root Container.Calendar.WeekBegin}' AND
t_stamp <= '{Root Container.Calendar.WeekEnd}'