You need to sign in to do that
Don't have an account?
Prasanna K 7
Convert String containing date time to a DateTime in APEX
I have a String dtme = "20150901174244"(YYYYMMDDHHMMSS) I need to convert it to a DateTime in APEX like 01/09/2015 5:42 PM. Would someone be able to show me the code to do this properly?
any help is much appreciated.
any help is much appreciated.
Above code would work.
Thanks