Bi Publisher: Excel Date 1/1/1900 Solution

Bi Publisher, a robust tools suite used for customer communications management, can sometimes cause confusion with its date handling in Excel, particularly when encountering the "1 0 1900" issue. This article delves into understanding and resolving this date anomaly.

Python XlsxWriter - Date and Time
Python XlsxWriter - Date and Time

The problem arises from Excel's usage of the 1900 date system, where the date January 1, 1900, is represented as "1". Thus, "1 0 1900" corresponds to the time 01:00 AM on January 1, 1900.

a desktop computer sitting on top of a desk next to a monitor and laptop screen
a desktop computer sitting on top of a desk next to a monitor and laptop screen

The Underlying Cause

The root of this issue lies in the difference between Excel's and Bi Publisher's date interpretation. While Excel uses the 1900 date system, Bi Publisher employs the more standard 1970 date system, making "1 0 1900" nonsensical for it.

a computer screen with some data on it's side and an image of a keyboard in the middle
a computer screen with some data on it's side and an image of a keyboard in the middle

To mitigate this, implementing temporary date formats can help bypass this conflict.

Temporary Date Format Change in Bi Publisher

an excel spreadsheet with arrows pointing to different parts of the workflow diagram
an excel spreadsheet with arrows pointing to different parts of the workflow diagram

Bi Publisher allows for altering the output format to accommodate the Excel date format. The "xx/yy" format can be used to represent the day of the month.

Consider this example. If the current date is set to "MM/DD/YYYY", change it temporarily to "01/01/1900" to represent "1 0 1900" correctly.

Using Daterolleups in Bi Publisher

a computer screen shot shows the number of items in an item list for each item
a computer screen shot shows the number of items in an item list for each item

Daterolleups is an advanced functionality in Bi Publisher that can handle time conversions. This method requires additional setup and may necessitate expert consultation.

It involves creating a dynamic register and writing the appropriate SQL statements to convert the time up to a familiar format.

Excel's Workaround: Date Formatting

How to configure an Excel file for use in Power BI - TechRepublic
How to configure an Excel file for use in Power BI - TechRepublic

transformé in Excel to handle this date interpretation discrepancy. One approach is to apply a custom date format.

Select the cells with the date, go to "Number" in the "Home" tab, click "Custom", and input "/1900". This adjusts the date display to "1/0/1900".

Tech Home
Tech Home
I Will Do Excel Data Merging , Validation ,Functions,  Analysis
I Will Do Excel Data Merging , Validation ,Functions, Analysis
Aprende desde lo básico hasta avanzado con métodos prácticos y aplicados al mundo laboral.
Aprende desde lo básico hasta avanzado con métodos prácticos y aplicados al mundo laboral.
a blue and white poster with the words power bi written on it's side
a blue and white poster with the words power bi written on it's side
Excel
Excel
Microsoft Power BI - From Data Modelling to Stunning Reports | Towards Data Science
Microsoft Power BI - From Data Modelling to Stunning Reports | Towards Data Science
the excel data anals and visualization method is shown in this poster, which shows how
the excel data anals and visualization method is shown in this poster, which shows how

Excel's Date/Time Function

Excel's built-in DATE and TIME functions can help convert "1 0 1900" to a recognizable time. Enter the formula "=TIME(1, 0, 0)" to represent the 1:00 AM component.

The formula "=DATE(1900, 1, 1)" can represent the date part. Combine both with "="&DATE(1900, 1, 1)&TIME(1, 0, 0) to get a complete datetime value in the Excel 1900 date system.

Always remember to keep your dates in a consistent format for seamless integrations between Bi Publisher and Excel. Regularly review date formats to avoid compromising data integrity.