Hi
Every one.
i have three timespan t1 =00:10
t2=1:20; and t3.
where t3=t1.Add(t2);
now t3=1:30 how i can convert this to 1:30Am or 1:30PM

Please any one to help me.......

Thnx in advance

Recommended Answers

All 4 Replies

Use BB Code tags to place source code in well format.

...
  DateTime dt=new DateTime(t3.Ticks());
  ..
  ..

Adatapost, perhaps where you live it is still very early in the morning. In case you did not notice : this is the C# forum...

commented: good catch +1

I regret for that.

Thanks ddanbe.

No problem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.