|
||||
PC Tools > Scripting Home > Code Snippets > Date & Time Functions
http://www.pctools.com/guides/script...?act=reference Based on the article below, to calculate the half day in the hourly unit could be: hours = DateDiff("h", "1-Jan-2007", "2-Jan-2007") / 2 "h" represents hour (refer to the below table) You may try to play around. DateDiff() - Calculate the Difference Between Two Dates http://www.pctools.com/guides/script...?act=reference Quote:
|
|
||||
Quote:
|
|
||||
datediff function will tell the days aparts and for half day maybe you calculate the hour apart. all this can be accomplish by using datediff...
for complete functionality of datediff please refer to w3school site -->>> VBScript DateDiff Function |
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Total newbie here >_< | Pip_X | Website Programming | 2 | 12-04-2006 01:12 PM |
| Total form looping textfield | koisempoi | Website Design | 2 | 09-05-2005 12:35 PM |
| Whois: total domain hosted | Filuren | Paid Hosting Discussion Forum | 12 | 08-10-2004 01:54 AM |
| Count total of records | jeb23 | Website Programming | 17 | 04-02-2004 07:15 PM |
| PHP FrameWork For TOTAL NEWBIE | bazet | Website Programming | 13 | 02-12-2002 04:19 PM |
All times are GMT +8. The time now is 09:22 PM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.












Linear Mode

