The ticks start counting (value = 0) at 01/01/1970 at 00:00.
The TimeDialog returns the time-ticks according to the date 00/00/0000, so you're getting a negative value.
To add both values from Time- and DateDialg (which returns the ticks at 00:00) you have additionally to add the (negative) ticks value for 00/00/0000 00:00, which is -62167478400000.
So in your sample:
-62167446000000 1336348800000 + 62167478400000= 1336381200000
specci48