hey guys, so as you know date time like 01-01-2019 and 26-01-2019 is in the format of “dd-MM-yyyy” so when i used .tostring(“dd”) my solution will return me “01” and “26”. is there a format that can return me “1” instead of “01” and “26” returns “26” for example? or do i have to convert to integer then convert back to string?
thanks in advance