+ Reply to Thread
Results 1 to 3 of 3

generating date range from current date

  1. #1
    Registered User
    Join Date
    03-14-2008
    Posts
    9

    generating date range from current date

    Hi, I have a function =Today() which shows current date, ie 03/14/2008. I want to take that function and create a date range from the begining of the year of current date. Like this:
    'January, 01 2008 to March, 14 2008'
    Any ideas how can this be done?
    Thanks in advance.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Quote Originally Posted by dexelguy
    Hi, I have a function =Today() which shows current date, ie 03/14/2008. I want to take that function and create a date range from the begining of the year of current date. Like this:
    'January, 01 2008 to March, 14 2008'
    Any ideas how can this be done?
    Thanks in advance.
    Please Login or Register  to view this content.
    Rgds

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Try

    ="January, 01 "&YEAR(TODAY())&TEXT(TODAY()," to mmmm, dd yyyy")
    Last edited by daddylonglegs; 03-14-2008 at 04:54 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1