Thursday, May 20, 2010

Getting CurrentServerDate

/**
* Wrapper / convenience method for getting the current server date
*
* @return Current server Date - "null" if error occurs
*/
public static Date getCurrentServerDate() {
Date serverDate = null;
serverDate = new java.util.Date();
return serverDate;
}

No comments:

Post a Comment