I need 2 date extensions. Needs to be in VB.net 2010 (using the .net framework 4.0). The first extension is DateString(Date as Date) as String and the other called TimeString(Date as Date) as String. What is needed here is this.
Both functions will accept a date and return a string in the following format.
For the first one; must be in mm/dd/yyyy
Here is an example. If the date/time sent in is this
"9/9/2010 3:40:37 PM" then will return "09/09/2010"
For the second one; must be in the format of "hh:mm am/pm"
Here is an example; If the date/time sent in is this
"9/9/2010 3:40:37 PM" then will return "03:40 PM"
however; if the time sent in is this
9/9/2010 11:5:37 AM then will return "11:05 AM"
Let me know if you have any questions.
## Deliverables
1) All deliverables will be considered "work made for hire" under U.S. Copyright law. Employer will receive exclusive and complete copyrights to all work purchased. (No 3rd party components unless all copyright ramifications are explained AND AGREED TO by the employer on the site per the worker's Worker Legal Agreement).
2) Must work on buyers environment.
3) Needs the source code for this.
The sample will need to be a console application. The function to send in for the sample will be the Now function (which returns the current date/time).
## Platform
Windows All Versions.