Jack Baker

Date Question - Day of Week

Discussion created by Jack Baker on Feb 7, 2012
Latest reply on Feb 14, 2012 by Jack Baker

I need to extract the day of week (ex. Tuesday) from a date. My date variable is a nullable datetime which I can also get a timestamp from. How can I use the portable().DayOfWeek function when it only accepts a real number as a date? I dont see how a timestamp can be converted to a real number. Any code example would be great!

 

Outcomes