Reading data from Dictionary

DICTIONARY(String, Object)
Key, Value
Date, 12/10/2020

When I use get dictionary by key “Date”
I get value as 12/10/2020 00:00:00 where I would just need the date without time.

  1. How to change object to date time if possible.
  2. How do I change the format of the value to be extracted or after extracted.

Hey @Abdul_Ahad :wave:

Try this with assign:

var fromDictionary = DateTime.Now; //or config("yourVariable").ToString
var justDate = dateAndTime.Date;

Hi @Abdul_Ahad,

After you get the value from the dictionary using the key, convert it first to DateTime type, then change the format.