LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mysql DateTime string to number

Solved!
Go to solution

hey..i have a problem with mysql date-time string to number conversation.

Id like have conversation to number format for excel date.

 

My LV conversation for date 2013-01-22 10:00:00 is 3,44169E+9 and for

the same date in exel conversation is 41295,4166666667.

 

Why is that?

 

Tnx for yours explonations.

 

 

Download All
0 Kudos
Message 1 of 3
(2,614 Views)
Solution
Accepted by topic author ant_inter

LV: "seconds that have elapsed since 12:00 a.m., Friday, January 1, 1904"

Excel: "days since 1st Jan 1900 00:00"

 

So you have a scaling factor of 86400 and of offset of 1461 days (assuming 1 scot year)

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 3
(2,604 Views)

 

Tnx..I should know this Smiley Frustrated

 

Tnx again 🙂

 

 

0 Kudos
Message 3 of 3
(2,570 Views)