Welcome Guest Search | Active Topics | Members | Log In | Register

does autocode has the function about get the datetime Options · View
blueyund
Posted: Tuesday, July 29, 2008 1:24:42 AM
Rank: Newbie
Groups: Member

Joined: 7/28/2008
Posts: 2
Points: 6
i see the function like 'ToUnderscore' ,and i need a function can get the datetime to use in <summary> like

/// <summary>
/// <remarks>myname datetime</remarks>
/// </summary>

i did't see a document to show what function did the autocode have. or where to define a function.

so, i hope you could give me a function that can get the datetime or tell me where to define a function
THX!
Alvaro
Posted: Thursday, July 31, 2008 3:33:54 PM
Rank: Administration
Groups: Administration

Joined: 3/16/2008
Posts: 18
Points: 60
Location: Spain
You can always use .NET functions, like DateTime.Now(). For example:

MyName <%= DateTime.Now%>

or

MyName <%= DateTime.Now.ToString("yyyy/MM/dd")%>

Note the ASP.NET like syntax.

Hope this helps.

blueyund
Posted: Sunday, August 03, 2008 5:43:44 PM
Rank: Newbie
Groups: Member

Joined: 7/28/2008
Posts: 2
Points: 6
thank you ^_^ this does help

BTW: is that any .NET functions can use in the autocode ?
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008