Timestamp(int, int, int, int, int, int, int) - Constructor for class java.sql.Timestamp public Timestamp (int year, int month, int date, int hour, int minute, int second, int nano) Deprecated. instead use the constructor Timestamp(long millis)Constructs a object initialized with the given values.Constructs a Timestamp object initialized with the given values.Parameters: year - year-1900 - 0 to 11month - 0 to 11 - 1 to 31day - 1 to 31 - 0 to 23hour - 0 to 23 - 0 to 59minute - 0 to 59 - 0 to 59second - 0 to 59 - 0 to 999,999,999nano - 0 to 999,999,999 Timestamp(long) - Constructor for class java.sql.Timestamp public Timestamp (long time) Constructs a Timestamp object using a milliseconds time value. The integral seconds are stored in the underlying date value; the fractional seconds are stored in the nanos field of the Timestamp object.Parameters: time - milliseconds since January 1, 1970, 00:00:00 GMT. A negative number is the number of milliseconds before January 1, 1970, 00:00:00 GMT. | ||||
Search Dictionary:
Timestamp definition was found in categories: Encyclopedia(1)
Timestamp Definition from Encyclopedia Dictionaries & Glossaries
| Wikipedia English - The Free Encyclopedia |
Timestamp
- For the ICMP message, see ICMP Timestamp.
Timestamps are very useful for logging events.
Examples 2005-10-30 10:45 Sat Jul 23 02:16:57 2005
| See more at Wikipedia.org... |
