G
gibboda
I am trying to determine what is the best way to calculate a date
using Calendar or Date java class. Searched the user group but did
not find anything to help with dealing with different epoch dates
between two different systems. What I have is a system where I pull
from to put into different database but one issue arose doing this.
This date I pull of this system does not come in MM/DD/YY format but
in a integer number of days from an epoch of December 31, 1967. The
epoch is not standard epoch date that I have found on any of the known
operating system and it counts in number of days from epoch. Therefore
I cannot just pull the epoch date of the new system which does not
match with the new system. Also the new system counts in milliseconds
not days when counting from epoch date. Because of this unusually
date, I have not found a simple way to convert this back into the
proper date and it does not appear that the Calendar or Date class
takes in an account of having a different epoch date than the system
which the code is running on. Any suggestion where I should begin
looking if the Java Calendar Class is not the appropiate course of
action.
Thank you,
gibboda
using Calendar or Date java class. Searched the user group but did
not find anything to help with dealing with different epoch dates
between two different systems. What I have is a system where I pull
from to put into different database but one issue arose doing this.
This date I pull of this system does not come in MM/DD/YY format but
in a integer number of days from an epoch of December 31, 1967. The
epoch is not standard epoch date that I have found on any of the known
operating system and it counts in number of days from epoch. Therefore
I cannot just pull the epoch date of the new system which does not
match with the new system. Also the new system counts in milliseconds
not days when counting from epoch date. Because of this unusually
date, I have not found a simple way to convert this back into the
proper date and it does not appear that the Calendar or Date class
takes in an account of having a different epoch date than the system
which the code is running on. Any suggestion where I should begin
looking if the Java Calendar Class is not the appropiate course of
action.
Thank you,
gibboda