chunkII123
IS-IT--Management
Hey everyone,
I am having trouble getting a code written by a previous employee at my company to grab the time off of the MySQL server and change it to human time, it's coming in via 'yyyy-MM-dd'. I am unsure how to use the DateFormat, SimpleDateFormat, or the one our previous programmer wrote called DDatFormat, which when one calls the '.toString()' command it asks the var to look up date on GregorianCalendar. How can I change this information, i'm adding a zip file with all of the .java files so you amazing programmers can look at this and see if we can figure this mess out.
The files are StatusLetter.java, StatusForm.java, and DDateFormat.java.
As you can see, when one compiles the status letter (which is called from the form) it throws the date in properly, as well as the 'termDate', the termDate is pulled directly from the SQL database. I tried mimicking the 'termDate' 'responseDate', but it only caused the program the throw the current date in the "termination letter". Personally I feel that it is important to have these letter come out as smoothly as possible, picking information from the DB, but clients need to be able to read them, and half of them aren't the smartest when it comes to reading machine date/EU dating.
Please help, I really need to make this program work for our company, and don't want to waste the time of rewriting the whole thing when it is technically functional.
Thanks again community!
I am having trouble getting a code written by a previous employee at my company to grab the time off of the MySQL server and change it to human time, it's coming in via 'yyyy-MM-dd'. I am unsure how to use the DateFormat, SimpleDateFormat, or the one our previous programmer wrote called DDatFormat, which when one calls the '.toString()' command it asks the var to look up date on GregorianCalendar. How can I change this information, i'm adding a zip file with all of the .java files so you amazing programmers can look at this and see if we can figure this mess out.
The files are StatusLetter.java, StatusForm.java, and DDateFormat.java.
As you can see, when one compiles the status letter (which is called from the form) it throws the date in properly, as well as the 'termDate', the termDate is pulled directly from the SQL database. I tried mimicking the 'termDate' 'responseDate', but it only caused the program the throw the current date in the "termination letter". Personally I feel that it is important to have these letter come out as smoothly as possible, picking information from the DB, but clients need to be able to read them, and half of them aren't the smartest when it comes to reading machine date/EU dating.
Please help, I really need to make this program work for our company, and don't want to waste the time of rewriting the whole thing when it is technically functional.
Thanks again community!