Programming Examples
Python function to extract the day month year from given date
Write a Python function which accept the date 'DD-MM-YYYY' format as an argument and return date, month nd year part.
Solution:
Output/ Explanation:
Enter any Date in 'DD-MM-YYYY' format : 22-11-2012
Day Part : 22
Month Part : 11
Year Part : 2012