Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/date/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Date 如何在Scheme/DrRacket中获取R5Rs中的系统日期_Date_Scheme_System_R5rs - Fatal编程技术网

Date 如何在Scheme/DrRacket中获取R5Rs中的系统日期

Date 如何在Scheme/DrRacket中获取R5Rs中的系统日期,date,scheme,system,r5rs,Date,Scheme,System,R5rs,在DrRacket IDE中,当语言设置为“诈骗”时,我能够通过以下方式获取系统日期: (define currentMonth 0) (let ((date (seconds->date (current-seconds)))) (set! currentMonth (date-month date)) ) 现在,我需要在R5R中执行同样的操作,但不确定如何执行。我可以在这方面寻求你的建议/帮助吗 谢谢大家! R5R中没有日期时间支持。PLTRacket的R5RS实现中应提供程

在DrRacket IDE中,当语言设置为“诈骗”时,我能够通过以下方式获取系统日期:

(define currentMonth 0)
(let ((date (seconds->date (current-seconds))))
  (set! currentMonth (date-month date))
  )
现在,我需要在R5R中执行同样的操作,但不确定如何执行。我可以在这方面寻求你的建议/帮助吗


谢谢大家!

R5R中没有日期时间支持。PLTRacket的R5RS实现中应提供程序
current seconds
seconds->date
date month
作为扩展