Click here to Skip to main content
15,910,886 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I had been worked with datetime and its methods and I am unable to did that one
Please help me
Thanks in advance .....

[Edit]Shouting removed[/Edit]
Posted
Updated 26-Dec-12 0:56am
v3
Comments
Zafar Sultan 26-Dec-12 7:00am    
And what exactly is your problem? What do you want to achieve and where are you stuck? Queries, code-behind, validation, days calculation?
[no name] 26-Dec-12 7:07am    
i am working on a project where the employees are having their daily task on dashboard...for night shift people after 12 O clock it will display tomorrows task ...(they are working from 8 pm to tomorrow morning 6 am )but after 12 pm the targets are changed
That i want to avoid.....provide a solution for me
__TR__ 26-Dec-12 7:02am    
Your question is not clear. Please provide more details on what is it you are trying to do. If you have tried something post your code. Also take a look at timespan[^], It might help you with your requirment.
[no name] 26-Dec-12 7:11am    
I am just working on date time class

datetime dat=datetime.today.adddays(1);
and i am comparing the current time with that dat after 12 it will go for another day
__TR__ 26-Dec-12 8:51am    
What are you retrieving by comparing 2 dates? Is it the hours? Post your code with details of the issue you are facing in that code.

1 solution

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