Computing.Net > Forums > Programming > Access 2000 Date Function

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Access 2000 Date Function

Reply to Message Icon

Name: ColdFire
Date: June 29, 2003 at 12:52:32 Pacific
OS: XP Pro
CPU/Ram: 2064 XP+ / TwinMos 433Mhz
Comment:

Hey there guys,

Just trying to finish off a database and i cant seem to get the date function to work. I have defined a string value "Today" and this works with the Now function when i code:

today = now

however whenever i try to assign today = date it does not work. i get the same with the time function. all i want to do is drop these fields from the system time and dat into two text boxes. txtdate and txttime.

any help would be greatly appreciated.

Chris Bradford
Hants.
UK



Sponsored Link
Ads by Google

Response Number 1
Name: smithdk
Date: June 29, 2003 at 15:53:39 Pacific
Reply:

So what exactly happens when you try to assign the date and time?

Have you tried this:

txtdate = date()
txttime = time()


0

Response Number 2
Name: ColdFire
Date: June 30, 2003 at 01:14:50 Pacific
Reply:

No i haven't tried that, and i am pretty sure thats it!! I was getting nothing returned at all in my text boxes.

Will try it out and let you know if it works.

Thanks very much.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Graphics without X in lin... Simple Counter



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Access 2000 Date Function

Access 2000 Date/Time help www.computing.net/answers/programming/access-2000-datetime-help/2783.html

Access 2000 VBA search function www.computing.net/answers/programming/access-2000-vba-search-function/7020.html

VB6 and Access 2000 www.computing.net/answers/programming/vb6-and-access-2000/10084.html