Replace Pioneer Home
All Examples
Free Download
all
Advanced search and replace
Replace text in multiple files
Regular expression replace
Batch file rename
Batch download
Text file parser
Text file splitter
Html text generator
Search replace binary
Random word generator
Character count
Character encoding
Bin Hex Oct Dec converter
Text generator
RSS: Replace Pioneer Examples
411.Text generator -- How to generate consequence date from 2008-01-01 to 2009-12-31?
User:
editor -- 2010-02-03
Hits:
112
Type:
Text generator
Search all
Text generator
examples
Description:
How to generate consequence date from 2008-01-01 to 2009-12-31?
Output Sample:
2008-01-01
2008-01-02
2008-01-03
...
2009-12-28
2009-12-29
2009-12-30
Answer:
Hint: You need to
Download and install "Replace Pioneer"
to finish following steps.
1. ctrl-h open 'Replace' dialog
2. click 'Advanced' page, enter following in 'Insert begin Text' entry:
join("\n",map{ formattime("2008-01-01","%Y-%m-%d",86400*$_)}(0..365*2-1))
3. click 'Replace', done!
4. click ctrl-s save to file.
Download Script:
scripts/411.rst.zip
Similar Examples:
How to generate 100 random date between 2009-01-01 and 2009-12-31?
(75%)
How to rename a sequence of files to 001,002,003,...?
(57%)
How to generate a random binary sequence matrix?
(53%)
How to generate an address sequence with id increased from 'aaa' to 'zzz'?
(51%)
How to generate 200 random numbers in the range of 100 to 300?
(50%)
How to add sequence id to the filename for many files?
(43%)
How to rename many jpg files with sequence id and record it?
(43%)
How to replace all the symbol @ with sequence number that started from 1?
(42%)
Check Demo of
Text generator