Calendar cal = cal.getInstance(<your timezone>); or Calendar cal = cal.getInstance(); // default time zone cal.set(Calendar.HOUR_OF_DAY, 9 ); NSTimestamp n = new NSTimestamp(cal.getTime()); Regards, Adalbert On 17.01.13 15:48, Theodore Petrosky wrote:
What is the best way to create today's day at 9:00 new NSTimestamp() will give me today and the time is at the moment of creation. so the end result I want is (regardless of when in the day I create it): new Timestamp(today at 9am); 2013-01-17 09:00 Etc/GMT I am doing it rather convolutedly. Maybe there is a simple WO way. Ted _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/adalbert%40helios.de This email sent to [email protected]
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
