1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Date Part only from MS Access Date picker control

Discussion in 'Software Development' started by wango, Jan 6, 2003.

Thread Status:
Not open for further replies.
  1. wango

    wango Thread Starter

    Nov 13, 2001
    I am using the "microsoft access date/ time picker" control to pick dates. These dates like termination date of a contract will end up in the database. The problem I have is that when I do this,

    rst!dateIntoForce = Me!ActiveXCtlDOForce

    I end up with this in my database:

    1/6/2003 5:48:43 PM

    How can I extract only the date part from "1/6/2003 5:48:43 PM" so that only


    goes into the database

  2. Rockn


    Jul 29, 2001
    Format the date before it gets entered into the db. Format([Date], "m/dd/yyyy")
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Similar Threads - Date Part Access
  1. leachim
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/111777

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice