4 Replies Latest reply on Jun 26, 2008 10:01 AM by MayLam18

    Given "2008-06-01 13:02:10.000"

    May 2008
      Hi everyone,

      var date_time:String = "2008-06-01 13:02:10.000";

      How can I get the date (2008-06-01) out ? for example date = 2008-06-01
      How can I get the hour (13) out ? for example hour = 13
      How can I get the minute (02) out ? for example minute = 02
      How can I get the second (10) out ? for example second = 10

      Thanks,
      May