alasql从excelparsing时间,但我只需要string
我正在使用alaSQLparsing来自excel的数据。 在Excel中,我有字段命名为:“文本”和输出字段是“字”,在这里我有3行, abc test 11:30
三是时间,但我需要parsing为string,现在它直接parsing,结果是: 0.479166666666667
请给我意见,如何parsing为string?
这是我的查询: select text word from xlsx('path/to/excel' ,{ headers:true })
这个项目的代码/片段在哪里? 这将有助于更好地回答你的问题。
之前:
从xlsxselect文本字('path / to / excel',{headers:true})
后:
从xlsxselect文本('path / to / excel',{headers:true});
我会假设你试图获得字段/列“文本”,并获得表格行“单词”。
你需要先parsingdate和时间。 看看这个链接。 parsingdate和时间格式为excel