Skip to main content
edited title
Source Link
Matt Lacey
  • 25.8k
  • 7
  • 68
  • 153

Date Conversion Formatting: From DB date toOutput Database Date in Same Format As System.today()

I have a date field in my object. After I fire a select query , the returned format of the date is :

2014-09-16T11:55:00.000Z

I have a requirement where iI need to convert the above date into System.today()System.today() format. Any inputs in this regard is helpfullhelpful.

Date Conversion : From DB date to System.today()

I have a date field in my object. After I fire a select query , the returned format of the date is :

2014-09-16T11:55:00.000Z

I have a requirement where i need to convert the above date into System.today() format. Any inputs in this regard is helpfull.

Date Formatting: Output Database Date in Same Format As System.today()

I have a date field in my object. After I fire a select query , the returned format of the date is :

2014-09-16T11:55:00.000Z

I have a requirement where I need to convert the above date into System.today() format. Any inputs in this regard is helpful.

deleted 22 characters in body
Source Link
Boris Bachovski
  • 16.3k
  • 8
  • 50
  • 88

I have a date field in my object. After I fire a select query , the returned format of the date is :

2014-09-16T11:55:00.000Z

I have a requirement where i need to convert the above date into System.today() format. Any inputs in this regard is helpfull.

Thanks, Pravalika

I have a date field in my object. After I fire a select query , the returned format of the date is :

2014-09-16T11:55:00.000Z

I have a requirement where i need to convert the above date into System.today() format. Any inputs in this regard is helpfull.

Thanks, Pravalika

I have a date field in my object. After I fire a select query , the returned format of the date is :

2014-09-16T11:55:00.000Z

I have a requirement where i need to convert the above date into System.today() format. Any inputs in this regard is helpfull.

Source Link

Date Conversion : From DB date to System.today()

I have a date field in my object. After I fire a select query , the returned format of the date is :

2014-09-16T11:55:00.000Z

I have a requirement where i need to convert the above date into System.today() format. Any inputs in this regard is helpfull.

Thanks, Pravalika