1 2 Previous Next 19 Replies Latest reply on Mar 11, 2009 10:13 PM by 807588

    Returning the string from the SimpleDateFormat

      Hi guys,

      Can someone tell me how to return the string from the SimpleDateFormat?

      I've created the method to do this, but i don't know the exact code to use. Here's my code so far...
          public String convert (Calendar gc)
              String s = convert(gc);
              return // I need to return the s here, but don't know how to code it.
      BTW, i've already wrote the code for the SimpleDateFormat (so if you want me post that, i will).
        1 2 Previous Next