1 Reply Latest reply on Feb 26, 2009 8:51 PM by Gregory Lafrance

    Typecast String to Date

    MBhatt
      From DateField I am getting date in String Format but I want to set this to Date Object . So How can I acheive this?

      I was trying with -

      Date dateObj = dateFeildId.text as Date;

      But , this does not work. It returns null.