get full year

Results 1 to 3 of 3

Thread: get full year

  1. #1
    Join Date
    Dec 1969

    Default get full year

    I am working with system date and want full year. for eg if system date is 6/19/00, I want year to be 2000. I have tried<BR> tdate = date()<BR> var_mon = month(tdate)-2<BR> var_year = fullyear(tdate)<BR>which does not work. Is there a way to accomplish this?<BR>

  2. #2
    fl1rt Guest

    Default RE: get full year

    var_year = CInt("20" & fullyear(tdate))<BR><BR>will that do ?<BR>

  3. #3
    Fion Guest

    Default RE: get full year

    try this,<BR><BR>var_year = Year(tdate)<BR><BR>Hope it helps.

Posting Permissions

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