Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Thread Tools Search this Thread
Old 04-06-2009
Join Date: Jul 2008
Posts: 99
c sharp ticks

TimeSpan Ticks in C#

The TimeSpan Ticks property simply returns the Ticks field in the TimeSpan object.



using System;
class Program
static void Main()
DateTime now = DateTime.Now;
DateTime then = new DateTime(2009, 06, 4, 6, 0, 9, 122);
TimeSpan diff = now - then;
Reply With Quote

  TechArena Community > Software > Software Development
Tags: ,

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads for: "c sharp ticks"
Thread Thread Starter Forum Replies Last Post
Sharp 007SH Hybrid An 3D Clamshell Android Phone by Sharp jackalz Web News & Trends 3 22-05-2011 07:28 AM
C sharp v/s C plus plus GlassFish Software Development 3 30-01-2011 07:06 AM
What are the features of C Sharp? Prashobh Mallu Software Development 5 02-02-2010 02:49 PM
Use of delegates in C sharp opaper Software Development 5 25-01-2010 01:44 PM
C sharp Serialization Truster Software Development 5 14-01-2010 08:40 AM

All times are GMT +5.5. The time now is 08:26 AM.