将日期转换为iso 8601字符串,无需代码 [英] Convert dates to iso 8601 string without code

查看:169
本文介绍了将日期转换为iso 8601字符串,无需代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1。我需要在修改后的iso 8601中生成日期的电子表格列



2.我需要的格式是yyyymmdd:没有连字符,没有分钟,没有秒数



3.该栏目的日期为1900年1月1日至2025年12月31日



4.我假设有一个生成列的简单工具。我还没有找到它



5.任何操纵者都会被赞赏



我是什么尝试过:



广泛的互联网搜索。我不编码

1. i need to generate a spreadsheet column of dates in modified iso 8601

2. the format i need is yyyymmdd: no hyphens, no minutes, no seconds

3. the column is for the dates spread jan 1, 1900 to dec 31, 2025

4. i assume there is a simple tool that generates the column. i have not yet found it

5. any steer wld be appreciated

What I have tried:

extensive internet search. i do not code

推荐答案

打开电子表格。

输入几个连续日期,如1/1/2017。电子表格应该识别您输入的日期。

您可以更改日期的格式以显示2017年1月1日



现在有趣的部分。

将数据格式化为一般数字。

您现在可以看到如何轻松扩展您的清单。



更改格式。



Voila。
Open your spreadsheet.
Type in a few consecutive dates like "1/1/2017". The spreadsheet should recognize that you entered dates.
You can change the format of the dates to display "1 Jan 2017"

Now the fun part.
Format the data into general number.
You can now see how to expand your list easily.

Change the format back to date.

Voila.


这里是使用mac 10,excel 12.2.0,openoffice4和textedit 1.10的解决方案,并假设一个人选择的电子表格是excel: -



1.在openoffice4电子表格中: -

(1)日期格式:选择iso 8601

(2)电子表格列:以iso 8601格式插入开始日期

(3)拖动以自动生成连续日期

(4)如果一个人的电子表格是openoffice4,现在已完成一个除外

(5)openoffice4查找和替换不延伸到删除连字符[使用textedit,纯文本,查找和替换这样做]

(6)复制整列



2.在短信中: -

(1)粘贴专栏

(2)转换为普通文字

(3)使用查找和替换删除连字符

(4)复制整栏



3.在excel中: -

(1)将目标列格式化为文本

(2)粘贴。运动结束



这样的表现很可耻!
here is the solution using mac 10, excel 12.2.0, openoffice4, and textedit 1.10 and assumes one's chosen spreadsheet is excel:-

1. in openoffice4 spreadsheet:-
(1) dates formatting: choose iso 8601
(2) spreadsheet column: insert start date in iso 8601 format
(3) drag to auto-generate contiguous dates
(4) if one's spreadsheet is openoffice4, one is now done except
(5) openoffice4 find and replace doesn't stretch to removing the hyphens [do this using textedit, plain text, find and replace]
(6) copy the whole column

2. in textedit:-
(1) paste the column
(2) convert to plain text
(3) use find and replace to remove the hyphens
(4) copy the whole column

3. in excel:-
(1) format the destination column as text
(2) paste. end of exercise

that this is such a performance is scandalous!


这篇关于将日期转换为iso 8601字符串,无需代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆