^+!ScrollLock::
FormatTime, TimeString,,dd'.'MM'.'yy' ('dddd')'
SendInput %TimeString%
return
I'm using non-english date formating which means that my day name is lowercased.
How do I capitalize it?
Example:
monday -> Monday
How to capitalize day name?
-
- Posts: 2
- Joined: 21 May 2016, 10:58
Re: Capitalize day name?
[Moderator's note: This post was moved from a duplicate topic started by guest 'AverageBrick'.]
Try this.
Try this.
Code: Select all
FormatTime, Date, ddMMyy, dddd.MM.yy
MsgBox % Date "`n" Format("{:T}", Date)
Please excuse my spelling I am dyslexic.
- JoeWinograd
- Posts: 2200
- Joined: 10 Feb 2014, 20:00
- Location: U.S. Central Time Zone
Re: How to capitalize day name?
After the FormatTime command, do this:
This also works:
The "T" parameter is what's crucial. Regards, Joe
Code: Select all
StringLower,TimeString,TimeString,T
Code: Select all
StringUpper,TimeString,TimeString,T
Who is online
Users browsing this forum: Google [Bot], peter_ahk, Spawnova, toddhere, USS_Sandhu and 317 guests