Sie sind auf Seite 1von 2

khalford:

Cells A4 and A5
DATE TIME Date and Time
These two rows contain identical values 10/31/2001 13:00 10/31/2001 13:00 Highlighting the
in columns B and C. 37195 0.5416666667 37195.5416666667 Clicking Format
Clicking Cells,
Activating the Al
Checking the "M
Methods of converting improper dates to decimal days
Month Day
10/31/2001 10 31

Same as before but crammed together 10/31/2001 10/31/2001

Conversion of Hours:Minutes:Seconds to decimal days


Hour Minute
9:30:23 9 30

Same as before but crammed together 9:30:23 9:30:23

A USGS favorite
Hour Minute
Some might read this as the number
93,023 but it really represents a time. 93023 9 30

Same as before but crammed together 93023 9:30:23

Use a User defined Function -- TimeRead(Text,Format)

Value Format
20011031 093023 yyyymmdd hhmmss
20011031 yyyymmdd
93023 hhmmss
093023 20011031 hhmmss yyyymmdd

Keith J Halford:
All times in Excel are in decimal days like the green cells F30:F33.
The same numerical values are in the orange cells G30:G33, but cell formating of t
the values intelligible in terms of month/day/year hour:minute.
khalford:
Cells A4 and A5 are merged. This was done by:

Highlighting the 2 cells,


Clicking Format,
Clicking Cells,
Activating the Alignment tab, and
Checking the "Merge Cells" option.

Year TEXT Decimal Day Formatted


2001 10/31/2001 37195 10/31/2001

Second Decimal Day Formatted


23 0.396099537 9:30:23

Second Decimal Day Formatted

23 0.396099537 9:30:23

Decimal Day Formatted


#VALUE! #VALUE!
#VALUE! #VALUE!
#VALUE! #VALUE!
s yyyymmdd #VALUE! #VALUE!

lls F30:F33.
0:G33, but cell formating of the number makes
:minute.

Das könnte Ihnen auch gefallen