Bump version to 6.4.7.2.M8
[LibreOffice.git] / basic / qa / basic_coverage / test_nowtimevalue_methods.vb
blob42dce2fc66fb4e74f756679731bf184352411719
2 ' This file is part of the LibreOffice project.
4 ' This Source Code Form is subject to the terms of the Mozilla Public
5 ' License, v. 2.0. If a copy of the MPL was not distributed with this
6 ' file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 Function doUnitTest as Integer
10 dim aDate as Date
11 dim aTime as Date
12 aDate = Date()
13 aTime = Time()
14 ' NOW TIMEVALUE
15 If ( Now() < aDate + TimeValue(aTime) ) Then
16 doUnitTest = 0
17 Else
18 doUnitTest = 1
19 End If
20 End Function