Find Jobs
Hire Freelancers

date function needed(2)

$30-5000 USD

Completed
Posted about 20 years ago

$30-5000 USD

Paid on delivery
What I need is a function that has a parameter of hour and minute. Then have it return the date for the next date with the hour and minute given. For example, if the hour fed into it was 9 and the minute was 30, then if the current date and time is 3/17/04 10:30AM then the function would return 3/18/04 9:30AM. On the other hand, if the example was 13 and 30 fed into it and the date currently is 3/17/04 2:30 PM, then the function would return 3/18/04 1:30PM. On the other hand, if the time was 3/17/04 8:00 AM and the numbers was 9, 30, then it would return 3/17/04 9:30AM. Must be coded with Visual Basic 6.0. Should be just the main procedure and the function. Should be something like this sub main dim newdate as date newdate=calculatedate(9, 30) end sub public function calculatedate(whathour as integer, whatminute as integer) dim newvalue as date calculatedate=newvalue end function ## Deliverables The source code only to show the new date obtained based on the parameters sent in. ## Platform Windows 2000, Windows XP
Project ID: 3137154

About the project

1 proposal
Remote project
Active 20 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$7 USD in 1 day
5.0 (2 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Sydney, Australia
5.0
781
Payment method verified
Member since Apr 9, 2002

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.