
MacのVSCode(VisualStudioCode)のClineでOllamaが動作しない時の解決備忘録
2024.11.13

WordPressでメディアのサムネイルを一括で再生成するプラグイン『Regenerate Thumbnails』
2023.09.23

MacでOpen Interpreterをローカルで動かした際に、CodeLlama Modelがダウンロードされる場所
2023.09.09
Category PHP Update 2009.08.25
先日投稿した「PHPで任意の日付から一週間後を取得」なのですが、
現在WEBはPHP5で動いているのですが、CronがPHP4のため、
日付の取得がうまくいきませんでした。
ということで改めて
PHPで任意の日付から一週間後を取得を試してみました。
どうもPHP4だと英文形式で書かなきゃいけないみだいで、
date("Y/m/d",strtotime("+1 week" ,strtotime("20 Aug 2009 0:00")));
みたくすればPHP4でも取得できました。