Xlsxir v1.6.4 Xlsxir.ConvertDateTime View Source
Converts a datetime formatted as a decimal number that represents the fraction
of the day in char_list
form, to an elixir naive datetime
Link to this section Summary
Functions
Given a charlist in the form of a serial date float representing fraction of the day return a naive datetime
Link to this section Functions
Link to this function
from_charlist(charlist) View Source
Given a charlist in the form of a serial date float representing fraction of the day return a naive datetime
Parameters
charlist
- Character list in the form of a date serial with a fractional number (i.e.41261.6013888889
)
Example
iex> Xlsxir.ConvertDateTime.from_charlist('41261.6013888889')
~N[2012-12-18 14:26:00]
Link to this function