Name of the day by LBB date function

Discussions about the Liberty BASIC language, with particular reference to LB Booster
sarmednafi
Posts: 36
Joined: Fri Apr 06, 2018 6:27 am

Name of the day by LBB date function

Post by sarmednafi »

One of the good features that we can display the name of the day simply by using date$() under LBB, more work and calculation should be done under LB.

Code: Select all

Print Trim$ (Left$ (Date$( "dddd       / mm / yyyy" ),12))
Wait
guest
Site Admin
Posts: 192
Joined: Tue Apr 03, 2018 1:34 pm

Re: Name of the day by LBB date function

Post by guest »

sarmednafi wrote: Sat Apr 21, 2018 3:50 am One of the good features that we can display the name of the day simply by using date$() under LBB, more work and calculation should be done under LB.
The full set of formatting options for DATE$() is here. However I still think it is a serious limitation of LBB (and LB) that you only have those options when formatting today's date; ideally they should be available for formatting any date.

Richard.