Blogger ブログ移行用、MovableType 形式のエクスポートデータの日付を変換するツール


  • 日本標準時(JST)をグリニッジ標準時(GMT)に変換。 (例: 5/5 08:34 → 5/4 23:34)
  • 24 時間制の時刻を 12 時間表記に。 (例: 23:34 → 11:34 PM)
  • 0 時台は 12 時台へ書き換え(Blogger の仕様)。 (例: 0:12 AM → 12:12 AM)

他のブログサービスのブログデータを Blogger へ移行するときに使用する、エクスポートファイル変換ツール MovableType2Blogger へデータを送る前に、こちらで日時変換を行っておくのがいいかと。

<script type="text/javascript">
function getGMTDate(s) {
  var d = new Date(s);
  var h = d.getUTCHours();
  var a;
  if (h > 11) {
    a = "PM";
    h -= 12;    
  } else {
    a = "AM";
  if (h == 0) {
    h = 12;
  return getDecimalNumber(d.getUTCMonth() + 1) + "/" + getDecimalNumber(d.getUTCDate()) + "/" + d.getUTCFullYear() + " " + getDecimalNumber(h) + ":" + getDecimalNumber(d.getUTCMinutes()) + ":" + getDecimalNumber(d.getUTCSeconds()) + " " + a;
function getDecimalNumber(n) {
  if (n >= 0 && n < 10) {
    return "0" + n;
  } else {
    return "" + n;
function changeDate() {
  var raw = document.getElementById("datechangerin").value;
  var rslt = raw.replace(/^DATE: (.*)$/gm, function(a, b) {return "DATE: " + getGMTDate(b);});
  document.getElementById("datechangerout").value = rslt;
function selectResult() {
<form action="" onsubmit="changeDate();return false;">
  <textarea id="datechangerin" name="" rows="10" cols="30"></textarea>
  <input type="submit" value="変換" />
  <textarea id="datechangerout" name="" rows="10" cols="30" readonly="readonly"></textarea>
  <input type="button" onclick="selectResult();" value="全選択" />

「このエントリ役に立った!」と思ったら、ぜひ フィード 登録をお願いします。 


  1. 日付が反映されず困っていたところ本当に助かりました!

  2. 無事移転ができました。ありがとうございます。

  3. こちらんp記事を参考に、すごく簡単に引越しができました!ありがとうございました。

  4. もし手作業だったら気が遠くなるような量の日付が、おかげさまで一発変換できました!

  5. こちらの記事のおかげで、引っ越し作業が簡単にすみました。本当にありがとうございました!

  6. 過去日付が反映されずに困っていたので、助かりました


  7. こちらのツールのお陰で、ブログの引越が大分ラクにできました。

  8. 大変助かりました。ありがとうございました。

  9. Allassignmenthelp is the favorite choice of students all over the world for getting online assignment help from experts. Some of the possible causes they choose Australian assignment help service from us is on-time delivery and 24*7 hours availability. Also, they prefer us as the student assignment online website to get reputable assignment help, because they found the best assignment writing experts team which can accomplish their need of Melbourne assignment help like services.

  10. Chinese Translation Services Singapore have made a squad of expert linguists, local language Translators, quality assurance managers, proofreaders, & editors competent of providing better translation services in different languages

  11. This comment has been removed by the author.

  12. You had me engaged by reading and you know what? I want to read more about that. That's what's used as an amusing post. At My Assignment Help Au, We Offer Pocket-Friendly Services And Write Tailored Assignments. Students Trust Our Assignment Help in Australia. To Get Authentic Assignments Within Deadlines, Hire Us Today!

  13. Students come to us to do my essay online in Australia. If we talk about the reflective essay, it is usually required in a portfolio for admission in higher education. Its introduction gives a general overview of the goals pursued by the student and to what extent the goals have been delivered.We at EssayAssignmentHelp.com.au strive to deliver economical college essay writing while not compromising on the quality of essays and assignments. If you want to check our authenticity, you can check a few essay writing service reviews where many of our satisfied reviewers have described our services as satisfactory. Know more about essay help online now.

  14. At MyAssignmenthelp.co.uk, we have some of the choicest and native writers in the study help team who are well-versed with the norms of prestigious universities like Cambridge, Oxford, King’s College, and University of Edinburgh etc. We do not charge more. If you have been looking for an online custom writing service agency that takes care of your assignment needs but will not cost you more, we are the only place in the UK to visit for it.

  15. We help you to stay at the top of the class with assignment writing help. The reason we have been the go to place for dissertation help is our pool of finest writing experts for all academic assignments. Our assignment assistance has great writing skills and runs a comprehensive assignment check to provide you with a custom online assignment. Our writers are best academic experts.
    Assignment writing help
    Dissertation help
    Assignment assistance

  16. Find instant solutions for thousands of college homework questions like: a calorie is defined as exactly 4.184 j. therefore 1.000 cal is exactly only on ScholarOn, the best academic assistance available online.

  17. If you are looking for test banks online, the best place for Testbank Downloads would be TestBanksOnline. Do not wait to buy Test Bank For Global Marketing 10th Edition online anymore. Get Test Banks Download and improve your grades.

  18. The aspiration of every student is to acheive top grades in college. This acheivement stands beyond a plethora of challeneges, of which exams are the biggest. While most of the students spend hours of time and tons of elbow grease to cram down entire textbooks, smart students use test banks online to breeze through their exams. Find awesome learning aids including Lehninger Principles Of Biochemistry Seventh Edition Test Bank today and ace your class.

  19. Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. I wanted to thank you for this websites! Thanks for sharing.
    solve my math homework -
    cpm homework help -
    Business Report Writing Service -
    Pestle Analysis Writing Help -
    Book Review Writing Help -
    proofreading writing services -
    online speech writer

  20. I went to this website, and I believe that you have a plenty of excellent information, I have saved your site to my bookmarks. mastering microbiology

  21. Thank you for your outstanding article. You will always find clients coming back to us which is a result of our excellent services. Our goal is to offer unique and specialized services to our clients and in return create a long-lasting working relationship. We provide the Best Ats One Hamlet and 3 BHK, 4 BHK Flats, Apartments, Penthouse, Corporate Properties, Commercial Properties in Noida, Greater Noida West, Delhi NCR with Great Discount and Deals. Learn more about Investmango visit our website and call now:- 8076042671

  22. Quality speech and presentation writing, a professional approach is needed. The person working on a presentation should be able to use all presentation tools in order to create a real masterpiece that would affect the audience


Zenback - Everyone's Related Posts