Day of week from date

rikki cattermole rikki at cattermole.co.nz
Fri Sep 29 03:32:44 UTC 2017


On 29/09/2017 4:25 AM, Joel wrote:
> With a given date, I want to know what day it is (like Sunday, Monday, 
> etc).
> 
> I had a look up on std.datetime, and core.time, but they don't seem to 
> have a function for it.

https://dlang.org/phobos/std_datetime_date.html#.DateTime.dayOfWeek


More information about the Digitalmars-d-learn mailing list