TimeDeltaAsString Method
The TimeDeltaAsString method of the SPUtility class returns the difference between two specified DateTime values as a string.
Parameters
dtEarlierTime A System.DateTime object that contains the earlier date and time.
dtLaterTime A System.DateTime object that contains the later date and time.
Return Value
A string that contains the difference between the two times.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security