Exploring Thoughtz..

Posts Tagged ‘timestamp

Change in behavior in Timestamp.valueOf() in JDK 6

Posted by: Vijay Dev on: October 21, 2009

Recently, when looking at a bug related to Timestamp, I found out that the valueOf() method in java.sql.Timestamp works differently in JDK 6 than the earlier versions.
Timestamp.valueOf(), when provided with a timestamp which contains a date or a month with a single digit. eg. 2009-9-20, 2009-9-3, 2009-12-4 etc., behaves differently in JDK 6 – it [...]

MS SQL – DateTime related Functions

Posted by: Vijay Dev on: August 24, 2008

Many a times I have come across code snippets that either format a timestamp value for displaying to the user or compare with another timestamp value. Often its much easier to let the database do the same. However, since the database needs to use functions on the columns to do these conversions, indexes on these [...]


Blog Stats

  • 23,729 Visitors

  • Vijay Dev: Hi Siva, Usually they have a written test and about 2-3 rounds of interviews. Depends on whether it's on or off campus as well..
  • Siva: Hi Vijay, Saturday I have an interview for amazon SDE . What is the interview process and how much difficult interview at amazon. How many ro
  • Vijay Dev: We have to either use already available builds (links in article) or build our own using the procedures listed in the chromium website. There is no se

My Tweets

About Me

Journey so far…

Email Subscription

Enter your email address to subscribe to this blog and receive notifications of new posts by email.