To Calculate Total No

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View To Calculate Total No as PDF for free.

More details

  • Words: 119
  • Pages: 1
public function totalday(intdate as date) as string dim strday as string dim strmonth as string dim stryear as string dim strtext as string dim dim dim dim

strprtday as string strprtmonth as string strprtyear as string s as string

strtext = intdate stryear = year(strtext) strmonth = month(strtext) strday = day(strtext) strprtyear = year(date) - [stryear] strprtmonth = month(date) - [strmonth] strprtday = day(date) - [strday] ' // if day is in negative then reverse calculation done \\ if day(date) < strday then strprtday = strday - day(date) end if s = strprtyear & " year, " s = s & strprtmonth & " month, " s = s & strprtday & " day" totalday = s end function

Related Documents

To Calculate Total No
November 2019 14
How To Calculate Date
October 2019 29
Pump Calculate
May 2020 8
Total
October 2019 72