A very simple question . I'm getting the date valu...
# general
s
A very simple question . I'm getting the date value of an order from saved search. Irrespective of the date format of the system preferences, I wanted to convert the date into yyyy-mm-dd format and push to the clients api. How do I do that ? 1. Can I get the date object from the saved search ? (not the string w r to the setprefrences) 2. Or is there a way to transform the date format to yyyy-mm-dd irrespective of what format I get from saved search (like m/d/yyyy or dd-mm-yyyy). Please guide me. Much appreciated .thanks in advance..