Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Mon, 20 Feb 2006 02:06:49 -0800,    group: microsoft.public.vstudio.helpauthoring        back       


Get Now Date Only in VB.NET   
How I do?
Thank you.
date: Mon, 20 Feb 2006 02:06:49 -0800   author:   guest

Re: Get Now Date Only in VB.NET   
Hello guest,

Get Now Date Only in VB.NET
> How I do?

sorry, you are in the wrong newsgroup this one is for Help Authoring, meaning 
the Help files associated with an application.
But you might want to take a look at:

\\\
Dim moment As New System.DateTime(1999, 1, 13, 3, 57, 32, 11)
' --- Year gets 1999.
Dim year As Integer = moment.Year
' --- Month gets 1 (January).
Dim month As Integer = moment.Month
' --- Day gets 13.
Dim day As Integer = moment.Day

or

sTemp = moment.ToString("dd/MM/yyyy")
sTemp = moment.ToString("MM/dd/yyyy")
///

Note: Set your or the customers CultureInfo in your VB program.
Google for more examples please.

HTH
Best regards
Ulrich Kulle
*******************************************
http://www.help-info.de
*******************************************
date: Mon, 20 Feb 2006 20:04:53 +0100   author:   Ulrich Kulle infoREMOVE##

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us