Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date optimization code for verification
Message
From
14/04/2006 17:29:32
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Date optimization code for verification
Miscellaneous
Thread ID:
01113804
Message ID:
01113804
Views:
59
In the following code, which creates a date value based on April 1st of the actual year, would there be a better way to achieve that:
        ldDate1 = DateTime.Parse(Format(Date.Now, "01/04/" + Trim(Date.Now.Year) + " 00:00:00"))
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform