Search:

Type: Posts; User: copeg

Search: Search took 0.09 seconds.

  1. Replies
    3
    Views
    2,422

    Re: Getting date based on days past year

    Pretty much...its not extremely elegant but it works. I've never verified this method for leap years and such, so you may want to verify this with a short test.
  2. Replies
    3
    Views
    2,422

    Re: Getting date based on days past year

    Take a look at Calendar in the java API. It will allow you to set a date, and from there you can add on specified times and recalculate the date.A simple example:

    public static void main(String[]...
Results 1 to 2 of 2