how to make dates without timezones?



In my database I have a lot of date fields that aren't time stamps but
just store dates. The problem is that when i load them into a java
Date it automatically assigns the timezone. The result will be a date
with 0 hours, 0 minutes, 0 seconds and the time zone of the server.
Like 02/20/2009 00:00:00 CST.

My application is a client server app using rmi. When the date is
passed to the client through all of the sudden the time zone which was
auto assigned when the date was populated from the server can change
the actual date. So if on the server I have 02/20/2009 00:00:00 CST
and the client is on pacific time then the date shows as the day
before. Because that date in pacific standard time is 02/19/2009
23:00:00 PST

So is there a way for all my dates to be completely ignorant of time
zones?
.



Relevant Pages

  • Re: how to make dates without timezones?
    ... servers time for both parse and format. ... that letting the client app format using the servers timezone is ... I would store all times on the server as a long in milliseconds since Jan 1, ... You might have to send the client's time zone as a parameter in your RMI request. ...
    (comp.lang.java.programmer)
  • Re: Meeting Requests accross Time-zones(CST-EST) 2 hours apart
    ... time zone or DST setting on the client or server. ... We do believe we have patched all clients, OS, and server applications, ...
    (microsoft.public.exchange.admin)
  • Re: timezone missing for ftp transfers...
    ... >> FTP server have the wrong time when they are saved to ... What is the client that is in use here? ... >local time zone of the server - which means that they are ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: Inbound Message time stamp incorrect
    ... When you check the time setting on your server, select the Time Zone tab and ... verify it is set to the correct Time Zone for you: ... > I have checked the Mail server BIOS and OS TIME to be ... I am Pacific Standard Time on the West Cost of ...
    (microsoft.public.exchange.setup)
  • Re: how to make dates without timezones?
    ... Date it automatically assigns the timezone. ... with 0 hours, 0 minutes, 0 seconds and the time zone of the server. ... My application is a client server app using rmi. ...
    (comp.lang.java.programmer)

Loading