Figuring out the Picasa.ini date format

  • Thread starter Thread starter martix
  • Start date Start date
  • Tags Tags
    Format
Click For Summary

Discussion Overview

The discussion revolves around understanding the date format used in Picasa.ini files, which are associated with the Picasa image organization program. Participants are exploring the structure of the date representation to facilitate the creation of multiple .ini files programmatically.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant seeks assistance in determining the date format used in Picasa.ini files for automation purposes.
  • Another participant suggests providing an example of the date format to clarify the inquiry.
  • A participant describes the format as generally appearing as "date=43243.546435," indicating a structure of five digits followed by a dot and six more digits.
  • Questions arise regarding whether the example values correspond to actual dates or are fabricated for illustration.
  • Some participants speculate that the encoding may represent the number of milliseconds since a reference date, such as January 1970, or a function of that value.
  • Another participant proposes that the format measures the number of days from a reference date.
  • One participant claims the date format is similar to that used in OpenOffice and Excel, suggesting that the digits before the decimal represent days since December 30, 1899, while those after represent time.
  • A link to additional information and code for converting dates is provided, but its relevance is not universally accepted.

Areas of Agreement / Disagreement

Participants express differing views on the interpretation of the date format, with no consensus reached on its exact nature or the validity of the proposed models.

Contextual Notes

There are uncertainties regarding the reference date used in the encoding and the exact meaning of the digits on either side of the decimal point. The discussion does not resolve these ambiguities.

martix
Messages
167
Reaction score
5
I have this image organization program called Picasa. It uses hidden .ini files in each directory it monitors to set some settings. I am interested in the date setting.
I need to figure out what the Picasa.ini date format is, so I can create a ton of such files with a little 5-minute-to-code program, instead of doing it by hand for an hour.
Can anyone help out?
 
Computer science news on Phys.org
It would be a good idea to post an example of the date format you're referring to.
 
Well I doubt it would become clear from a few examples, but it generally looks like date=43243.546435 - 5 digits then a dot and six more.
Say 30/6/2001 is date=37072.672245
and 20/8/2001 is date=37128.691157
 
Last edited:
The example values you posted, are they the actual values corresponding to the dates you provided, or something you randomly created for the sake of an example?

The encoding doesn't look standard, at least i haven't come across it before. It may be the number of miliseconds since some date, such as January 1970, or some function of that value.
 
From the example you posted it looks to me like it is measuring the number of days starting at some reference date.
 
The picasa.ini date format appears to be the same as used in the openoffice spreadsheet and probably excel. The digits to the left of the decimal point are the number of days since 12/30/1899 and the digits to the right represent the time.
Here is a http://www.codeproject.com/KB/datetime/exceldmy.aspx?print=true" to more information about the format and some code to convert dates between numbers and the mm/dd/yy forms.

The link: http://www.codeproject.com/KB/datetime/exceldmy.aspx?print=true
 
Last edited by a moderator:

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 24 ·
Replies
24
Views
10K
Replies
16
Views
3K
  • · Replies 10 ·
Replies
10
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 12 ·
Replies
12
Views
11K
  • · Replies 19 ·
Replies
19
Views
2K