Date conversion

good day!! i would like to ask if how to convert YYYY-MM-DD format to MM-DD-YYY and vice versa… thanks!!