Hiep,
The Date constructor that takes a long
'Allocates a Date object and initializes it to represent the specified number of milliseconds since the standard base time known as "the epoch", namely January 1, 1970, 00:00:00 GMT.'
So if you construct a date object with this constructor and if you want to get the same long printed
you should be using the method getTime() on the object created.
Hope this helps
Marilyn