![]() |
Change the Date format in C
Hi,
Input date is in mm/dd/yyyy format and I want to write a function to change the date format in yyyy-mm-dd format. Thanks in advance. |
Re: Change the Date format in C
Code:
For finding the format of date and time with different form,then we can use the following code: |
Re: Change the Date format in C
How far have you got and where are you stuck? This is *really easy* to do. This is not a free homework service; you must show your work and we will help you get unstuck. But I'm surprised you could be stuck with this; it's just a case of rearranging the string, so have you even tried?
|
| All times are GMT +5.5. The time now is 22:12. |