Consulting

Results 1 to 3 of 3

Thread: Manipulating timestamps

  1. #1
    VBAX Regular
    Joined
    May 2006
    Posts
    33
    Location

    Question Manipulating timestamps

    Hello!
    I am sure that this will be an easy problem to solve for those of you more experianced than me (3 weeks of VB).

    I have a script that loads values from a database. Every value gets a timestamp in tha format "YYYY-MM-DD 16:00:00".
    I would like to to be able to write todays date "=Now()" with 16:00:00 as the time so it matches the downloaded timestamps.
    Does anyone know how to do this ? Any help is greatly appriceated.

    //Webguy.. have you ever seen a more laughable handle ?? I just made it up.. WebGuy .. tsssk ..

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Use

    =TODAY()+TIME(16,0,0)

  3. #3
    VBAX Regular
    Joined
    May 2006
    Posts
    33
    Location

    Thanks!

    That worked out nicely . Just what i needed !

Posting Permissions

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