4
Answers

date times

Photo of shivaka

shivaka

20y
2.3k
1
I have two dates of datetime objects created in the form Hours:Minutes which are taken from the data base and assigned to the date times.I am genereting slots depending upon the differences of the two datetimes.But when the we give first datetime as PM nd second as AM and when first one is greatercompared to second for AM or PM I am not able to get the slots.Please help me.

Answers (4)

0
Photo of send2manivannan
NA 127 0 20y
No Neeeed of TimeStamp. You can achive your task by the ToShortTimeString() function in DateTimeClass. -Manivannan.D
0
Photo of james
NA 1.1k 312.9k 20y
Take a look at the TimeSpan class... see if that helps...
0
Photo of shivaka
NA 8 0 20y
slots are like slicing time like 9:30AM - 10:30NM slots r 1.9:30AM - 10:00AM 2.10:00AM - 10:30AM
0
Photo of ssswamii
NA 180 0 20y
Can you clarify what you mean by 'slots'?
Next Recommended Forum