Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
DrRacket IDEでは、言語設定が「Swindle」の場合、次の方法でシステム日付を取得できました。
(define currentMonth 0) (let ((date (seconds->date (current-seconds)))) (set! currentMonth (date-month date)) )
今、私はR5Rで同じことをする必要がありますが、その方法がわかりません。これについてアドバイス/助けを求めてもいいですか。
ありがとうございました!
R5RS には日時サポートはありません。手順current-seconds、seconds->dateおよびdate-monthは、拡張機能として PLTRacket の R5RS 実装で使用できる必要があります。
current-seconds
seconds->date
date-month