Skip to main content
guest
Join | Help | Sign In
Liberty BASIC Community Wiki Home
guest| Join | Help | Sign In
Liberty BASIC Community Wiki
  • Wiki Home
  • Recent Changes
  • Pages and Files
  • Members
  • Home
    • Liberty BASIC FAQ
    • Contests
    • Tutorials
    • Science
    • Shared Code
    • Tips
    • DLLs
    • PublicDomainSprites
    • Member Pages
    • Links
    • Sandbox

Name Of Day

Edit 0 4 …
  • 0 Tags
    • No tags
  • Notify
  • RSS
  • Backlinks
  • Source
  • Print
  • Export (PDF)
Older Version Newer Version

bradmoore bradmoore Feb 10, 2006

===Get Name of Day Function=== How can you find out what the day name is for a given date? This function will return that value in a string if passed a date in the format dd/mm/yyyy. [code format="qbasic"] print dayname$("10/1/1998") function dayname$(dt$) days$ = "Tuesday Wednesday Thursday Friday Satday Sunday Monday" dayname$ = word$(days$,(date$(dt$) mod 7)+1) end function [code]
Help · About · Pricing · Privacy · Terms · Support · Upgrade
Contributions to https://basic.wikispaces.com/ are licensed under a Creative Commons Attribution Share-Alike 2.5 License. Creative Commons Attribution Share-Alike 2.5 License
Portions not contributed by visitors are Copyright 2018 Tangient LLC
TES: The largest network of teachers in the world
Turn off "Getting Started"
  1. Home
  2. ...
Loading...