It is currently April 25th, 2024, 12:40 am
Hijri Date Gadget
-
- Posts: 3
- Joined: October 3rd, 2016, 5:24 am
Hijri Date Gadget
Assalam Alaikum, I am solely using Rainmeter so that I can know what is today's Hijri date. Is there any gadget for this? Please help.
-
- Developer
- Posts: 2681
- Joined: November 24th, 2011, 1:42 am
- Location: Utah
Re: Hijri Date Gadget
Use the Time measure's FormatLocale option.
Here is an example:
You may need change the Format option to suit your needs.
If you want to use a different locale, you can find a link to the official Microsoft list in this option: https://docs.rainmeter.net/manual-beta/measures/time/#TimeStampLocale
(Of course you will also need a Meter to display the date.)
-Brian
Here is an example:
Code: Select all
[HijriDate]
Measure=Time
Format=%#c
FormatLocale=ar
If you want to use a different locale, you can find a link to the official Microsoft list in this option: https://docs.rainmeter.net/manual-beta/measures/time/#TimeStampLocale
(Of course you will also need a Meter to display the date.)
-Brian
-
- Posts: 3
- Joined: October 3rd, 2016, 5:24 am
Re: Hijri Date Gadget
Can you please guide me step by step what to do to implement this? I am new to Rainmeter.Brian wrote:Use the Time measure's FormatLocale option.
Here is an example:You may need change the Format option to suit your needs.Code: Select all
[HijriDate] Measure=Time Format=%#c FormatLocale=ar
If you want to use a different locale, you can find a link to the official Microsoft list in this option: https://docs.rainmeter.net/manual-beta/measures/time/#TimeStampLocale
(Of course you will also need a Meter to display the date.)
-Brian
-
- Moderator
- Posts: 1251
- Joined: February 16th, 2012, 3:32 am
- Location: Berlin, Germany
Re: Hijri Date Gadget
Please read first Hot to create first skins and Anatomy of a skin.astromaz wrote:Can you please guide me step by step what to do to implement this? I am new to Rainmeter.
-
- Posts: 3
- Joined: October 3rd, 2016, 5:24 am
Re: Hijri Date Gadget
I read it but can't implement it, can you please give me final .ini file?Active Colors wrote:Please read first Hot to create first skins and Anatomy of a skin.
-
- Developer
- Posts: 2681
- Joined: November 24th, 2011, 1:42 am
- Location: Utah
Re: Hijri Date Gadget
Nobody here is really in the business of making skins for people (see here).
However, I can give you a simple 'complete' example.
Here is the code:
Obviously this doesn't look too great (just white text on a black background) so if you want it to look different, you will have to make some modifications to make it look the way you want it to.
Here are some guides and tips:
https://docs.rainmeter.net/manual-beta/getting-started/
https://docs.rainmeter.net/tips/
https://forum.rainmeter.net/viewforum.php?f=15
-Brian
However, I can give you a simple 'complete' example.
Here is the code:
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
[MeasureHijriDate]
Measure=Time
Format=%#c
FormatLocale=ar
[MeterDate]
Meter=String
MeasureName=MeasureHijriDate
SolidColor=0,0,0,255
FontColor=255,255,255
Here are some guides and tips:
https://docs.rainmeter.net/manual-beta/getting-started/
https://docs.rainmeter.net/tips/
https://forum.rainmeter.net/viewforum.php?f=15
-Brian
-
- Posts: 1
- Joined: June 27th, 2020, 3:45 am
Re: Hijri Date Gadget
i made an account just to thank you >> really it was helpfulBrian wrote: ↑October 3rd, 2016, 10:19 pm Nobody here is really in the business of making skins for people (see here).
However, I can give you a simple 'complete' example.
Here is the code:Obviously this doesn't look too great (just white text on a black background) so if you want it to look different, you will have to make some modifications to make it look the way you want it to.Code: Select all
[Rainmeter] Update=1000 AccurateText=1 [MeasureHijriDate] Measure=Time Format=%#c FormatLocale=ar [MeterDate] Meter=String MeasureName=MeasureHijriDate SolidColor=0,0,0,255 FontColor=255,255,255
Here are some guides and tips:
https://docs.rainmeter.net/manual-beta/getting-started/
https://docs.rainmeter.net/tips/
https://forum.rainmeter.net/viewforum.php?f=15
-Brian