Results 1 to 6 of 6

Thread: Date And Time

  1. #1

    Thread Starter
    Member vbGirl's Avatar
    Join Date
    Sep 2001
    Location
    India
    Posts
    41

    Arrow Date And Time

    Hi Friends,


    I am facing a small problem, is there any one who can solve that.


    My problem is that , i want to increase the time field of my database thru VB programme. how can i do that.



    Awaiting for reply


    Amit

  2. #2
    Si_the_geek
    Guest
    get the data out, use the DATEADD function to add to the date/time, then put the data back in to the database again...

  3. #3

    Thread Starter
    Member vbGirl's Avatar
    Join Date
    Sep 2001
    Location
    India
    Posts
    41
    please if possible give me some code example

    thanks

  4. #4
    Si_the_geek
    Guest
    I think you'd better find a tutorial on working with databases somewhere on the net, preferably one which deals with the database system you are working with (eg: Access/Oracle/SQL Server)

    Try this one (on this site):
    http://www.vbworld.com/databases/dbtutorial/

  5. #5

    Thread Starter
    Member vbGirl's Avatar
    Join Date
    Sep 2001
    Location
    India
    Posts
    41
    Hi,

    Thanks a lot for your reply

    vbGirl

  6. #6
    Addicted Member
    Join Date
    Dec 2001
    Posts
    142
    does the dateadd function work in the sql builder?


    dateadd(d,6,?)


    It gives me an error!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width