summaryrefslogtreecommitdiff
path: root/wizards/source/depot/Internet.xba
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/source/depot/Internet.xba')
-rw-r--r--wizards/source/depot/Internet.xba8
1 files changed, 4 insertions, 4 deletions
diff --git a/wizards/source/depot/Internet.xba b/wizards/source/depot/Internet.xba
index 3e57f0a7b7c8..b4bcf579b808 100644
--- a/wizards/source/depot/Internet.xba
+++ b/wizards/source/depot/Internet.xba
@@ -25,8 +25,8 @@ Function CheckHistoryControls()
Dim bLocGoOn as Boolean
Dim Firstdate as Date
Dim LastDate as Date
- LastDate = CDateFromISO(StockRatesModel.txtEndDate.Date)
- FirstDate = CDateFromISO(StockRatesModel.txtStartDate.Date)
+ LastDate = CDateFromUNODate(StockRatesModel.txtEndDate.Date)
+ FirstDate = CDateFromUNODate(StockRatesModel.txtStartDate.Date)
bLocGoOn = FirstDate <> 0 And LastDate <> 0
If bLocGoOn Then
If FirstDate >= LastDate Then
@@ -47,8 +47,8 @@ Dim oCell as Object
Dim sStockID as String
Dim ChartSource as String
If CheckHistoryControls() Then
- StartDate = CDateFromISO(StockRatesModel.txtStartDate.Date)
- EndDate = CDateFromISO(StockRatesModel.txtEndDate.Date)
+ StartDate = CDateFromUNODate(StockRatesModel.txtStartDate.Date)
+ EndDate = CDateFromUNODate(StockRatesModel.txtEndDate.Date)
DlgStockRates.EndExecute()
If StockRatesModel.optDaily.State = 1 Then
sInterval = "d"