Objective C/iPhone で PHP の strtotime に相当する (または漠然と似ている) ものはありますか?
たとえば、strtotime は以下の時間表現を理解できます (php ドキュメントから)。
- echo strtotime("今"), "\n";
- echo strtotime("2000 年 9 月 10 日"), "\n";
- echo strtotime("+1 日"), "\n";
- echo strtotime("+1 週間"), "\n";
- echo strtotime("+1 週 2 日 4 時間 2 秒"), "\n";
- echo strtotime("次の木曜日"), "\n";
- echo strtotime("先週の月曜日"), "\n";