Click here to Skip to main content
15,922,894 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to show messageBox in the date of I specify I use Timer Interval but the Interval use millisecond, for me i want a date with this format year/month/day 00:00:00
can U give me some example c#
thanks a lot
Posted
Comments
DamithSL 1-Nov-14 13:12pm    
update the question with your current code

1 solution

depending on how you handle date and time your code will be change. you haven't provide you code and which types you have used. check below documentation and you can use them to format date time for your requirements
Custom Date and Time Format Strings[^]
Custom TimeSpan Format Strings[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900