Function to Test a Date for BST (British Summer Time)
Category:
Dates and MathType:
SnippetsDifficulty:
BeginningAuthor: Anonymous
Version Compatibility: Visual Basic 6, Visual Basic Script
More information:
This is a VBScript function that tests a date to determine whether it falls within BST (British Summer Time) or whether it is standard GMT. The function of interest is called "fb_dst( date )". The rest of the code was written to black box test the "fb_dst" function, and to also test some other functions that I need to use when handling "ctime" datetime numbers with Veritas/Symantec NetBackup.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: