Jump to content
Server Maintenance This Week. ×

Hebrew Calender converter


This topic is 2718 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • 2 weeks later...

I created a calender (see screenshot) and want the hebrew date displayed on the right side of each box , ,  anyway you could help me on that?  , i managed to get it to work if i manually enter todays date in a field and have a script to calculated it accordingly , but want it to display on my entire calender  , any help on this? anyone?

tScreenshot001.jpg

Link to comment
Share on other sites

it is a repeating field . the script is 

 

Let ( [

PortalDate = Extend ( cDateofFirstPortal ) + Get ( CalculationRepetitionNumber ) - 1 ;

TodaysDate = Get ( CurrentDate ) ] ;

Case (

PortalDate = TodaysDate ; TextStyleAdd ( "Today - " & Day ( TodaysDate ) & " " & Left ( MonthName ( TodaysDate ) ; 3 ) ; Bold ) ;

Day ( PortalDate ) = 1 ; TextStyleAdd ( Left ( MonthName ( PortalDate ) ; 3 ) & " " & Day ( PortalDate ) ; Bold ) ;

Day ( PortalDate ) ) )

Link to comment
Share on other sites

Working on this repeating field however my first repeating field the calculation is saved as text ,i want to create another repeating field that will have the full date in it, how could i save this calculation as a date field so that my calculation to change it could work. when saved as text the numbers are right however when saved as date my result is 0/0/0

see below

Let ( [

PortalDate = Extend ( cDateofFirstPortal ) + Get ( CalculationRepetitionNumber ) - 1 ;

TodaysDate = Get ( CurrentDate ) ] ;

Case (


Day (PortalDate) ; ( Month ( PortalDate ) &   Day ( PortalDate) &   Year  ( PortalDate ) ) ;

Day ( TodaysDate ) ) )

 

i would appreciate if someone could help me out on this

Link to comment
Share on other sites

This topic is 2718 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.