-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
Home > Community > General > Microsoft date format > Reply To: Microsoft date format

There is no special function which converts your format into the calendar time format.
In FlexPro the calendar time value specifies the amount of time passed in seconds since January 1, 1970 at 00:00:00 UTC.
But you can create a VBA macro which converts the integer value into the calendar time format. It’s also possible to implement a custom import filter.
Use the Date data type.
Example:
Dim nDate As Long
Dim dtmDate As Date
nDate = 39203
dtmDate = nDate
Dim oDataset As DataSet
ThisDatabase.RootFolder.Add "Test", fpObjectTypeDataSet
Set oDataset = ThisDatabase.RootFolder.Object("Test")
With oDataset
.DataStructure = fpDataStructureScalar
.DataType(fpDataComponentY) = fpDataTypeCalendarTime
.Value(fpDataComponentY) = dtmDate
End With
See also
Automating Tasks
Automating Using FlexPro Visual Basic
Examples
A Custom Import Filter
You are currently viewing a placeholder content from Facebook. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou need to load content from reCAPTCHA to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Instagram. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from X. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More Information