Show Changes Show Changes
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Search

History

8/31/2007 9:04:16 PM
-66.78.116.108
8/31/2007 8:58:53 PM
-66.78.116.108
8/31/2007 8:58:27 PM
-66.78.116.108
8/31/2007 8:58:01 PM
-66.78.116.108
8/31/2007 8:56:36 PM
-66.78.116.108
List all versions List all versions

RSS feed for the TestJwd namespace

Related Topics

Date Time Demo
.
Summary
This topic discusses how, using WikiTalk, dates and times can be manipulated.

What information is available about a DateTime?

DateTime Add(Object span)
Add the specified TimeSpan to this DateTime
DateTime AddDays(Integer delta)
Add the specified number of days to this DateTime
DateTime AddHours(Integer delta)
Add the specified number of hours to this DateTime
DateTime AddMilliseconds(Integer delta)
Add the specified number of milliseconds to this DateTime
DateTime AddMinutes(Integer delta)
Add the specified number of minutes to this DateTime
DateTime AddMonths(Integer delta)
Add the specified number of months to this DateTime
DateTime AddSeconds(Integer delta)
Add the specified number of seconds to this DateTime
DateTime AddYears(Integer delta)
Add the specified number of years to this DateTime
DateTime Date
Answer the Date component of this DateTime
Integer Day
Answer the day of the month represented by this DateTime
String DayOfWeek
Answer the name of the day of the week represented by this DateTime
Integer DayOfYear
Answer the day of the year represented by this DateTime
Object Equals(Object obj)
Determine whether this object is equal to another object
Integer Hour
Answer the hour of the day represented by this DateTime
String LocalFormat
Answer the Local Date/Time Format from flexwiki.config
Integer Millisecond
Answer the millisecond component of the time represented by this DateTime
Integer Minute
Answer the minute of the hourrepresented by this DateTime
Integer Month
Answer the month of the year represented by this DateTime
Integer Second
Answer the seconds component of the time represented by this DateTime
Object SpanBetween(DateTime aDateTime)
Calculate the difference between this DateTime and the supplied DateTime
DateTime Subtract(Object span)
Subtract the given time span from this DateTime
Object TimeOfDay
Answer the time of day represented by this DateTime
DateTime ToLocalTime
Convert this DateTime from universal coordinated time (UTC) to local time
String ToLongDateString
Answer a long-form string representation for the date component of this DateTime
String ToLongTimeString
Answer a long-form string representation for the time component of this DateTime
String ToShortDateString
Answer a short-form string representation for the date component of this DateTime
String ToShortTimeString
Answer a short-form string representation for the time component of this DateTime
DateTime ToUniversalTime
Convert this local DateTime to universal coordinated time (UTC)
Integer Year
Answer the year represented by this DateTime

Examples

 DateTime.Today
12/5/2008 12:00:00 AM
 DateTime.Now
12/5/2008 2:58:18 AM
 DateTime.Today.AddMonths(1)
1/5/2009 12:00:00 AM
 DateTime.Now.Minute
58
 DateTime.Now.ToLongTimeString
2:58:18 AM
 DateTime.Now.ToLongDateString
Friday, December 05, 2008
 DateTime.Now.ToShortTimeString
2:58 AM
 DateTime.Now.ToShortDateString
12/5/2008
 DateTime.Now.ToUniversalTime
12/5/2008 10:58:18 AM

Modified in Last 5 days

 DateTime.Now.SpanBetween(e.LastModified).Days.LessThanOrEqualTo(5)
With

Not logged in. Log in

The wiki for all things Objective Design Solutions

This is FlexWiki, an open source wiki engine.

This site supports the new NoFollow anti-spam initiative.
Change Style

Recent Topics