How to active Hijri calendar in Microsoft Access 2010 for client - ms-access-2010

How can make my Mirosoft Access 2010 to show date and date pickers in Hijri calendar?
I have a ms access package that need to be in persian calander how can activate it?

Go to Options > Client Settings > Check Use Hijri Calendar

I'm using in one of my project both date formats. I switch conditionally (if user has selected Hijri date format for specific form then it switches to Hijri else Gregorian) switch between the formats using Application.SetOption "Use Hijri Calendar", True

Related

In Google Analytics - how do I link directly to today's statistics?

In Google Analytics, I am trying to create a link that navigates directly to today's statistics.
When choosing today's date from the menu, it populates the URL with the date range selected, as follows:
.../_u.date00=20190130&_u.date01=20190130/
Is it possible to create a dynamic populates today's date? Such as:
.../_u.date00=today()&_u.date01=today()/
In an unsupported way, you could set your dates to something in the future:
.../_u.date00=21190130&_u.date01=21190130/

Wrong date format when i create an event in google calendar

I use a google form to create event in my calendar. The date format recorded on my spreadsheet is European DD/MM/YYYY but at the event creation google calendar put the date info in the Us format MM/DD/YYYY. So, events are displayed in my calendar at the wrong dates...
Ive check my gsuite account, drive, sheet are set to the right language and timezone (FRANCE / PARIS).
can you help me ?
Thx.
ex. MR ZAZOU 2th March -----> 4th Feb
EDIT: last code i use to create event
function createEvent_ (namedValues) {
//options are the key/value pairs you can set when created a
//calendar event, below accesses the data given for description
//and location - guest is hard coded
var options = { description: namedValues.Description[0],
ocation: namedValues.Location[0],
guests:"exemple"};
//cEvent makdes the calendar event, You have to choose the calendar
//name that you would like to use, then ask for the Name of the event,
//start date and end date, then passes the options you have selected above
var cEvent = CalendarApp.getCalendarsByName("Example")[0].createEvent(
namedValues.Name[0],
new Date(namedValues.Starts),
new Date(namedValues.Ends),
options)
}
Ok, got it !
The problem was from the google form addon "Form publisher". Ive add an extra date field in my form for testing. In the form editor, the date format showed by google is the right one, but when i explore the template option of Form publisher, the format was named with wrong format.

MS Access - change date format of local database only

I'm based in the UK and I'm developing an MS Access 2016 database for an American client.
How can I change the language settings for this database only and not Access in general so, for example in table design view field format options for date appear appear as mm/dd/yyyy, mm/dd/yy etc rather than dd/mm/yyyy, dd/mm/yy?
I know I can format the data post-hoc using SQL or VBA but I'd prefer to set the behaviour as default at the design stage to limit the potential for error.
Many thanks.
Update, here's the options currently presented for the field format:
You can set the Format property of table fields and textboxes to: mm/dd/yyyy
But that will not change the behaviour of, say, DateValue which still will read a date string like "6/7/2016" as 2016-07-06 using your Windows settings.
So the real answer is that you can not. And neither should you need it - if you don't apply custom formats, your database will display dates as m/d/yyyy when reaching your American client.
If you want to see your application in action, install a virtual machine with US settings, and test your application in this environment.

Gravity forms Limit Date range

Hi there I want to limit the date range of a datepicker with the "dropdown" "date input type". I want to be able to set the start and end date manually. I am using version 1.8.5
Gravity Forms uses the jQueryUI Datepicker so you can use the minDate and maxDate options to restrict the date range.
There's also a plugin (I'm the plugin author) that allows you to set the date range in the edit field options, if you don't want to code it yourself or you want to study how it's done.

Changing short date format in Ubuntu

How do I change the system-wide short date format in Ubuntu? For example, Thunderbird is showing dates in the DD/MM/YY format, and I would like to change it to MM/DD/YY or YYYY-MM-DD.
The best information I can find so far is in this thread:
http://ubuntuforums.org/showthread.php?t=193916
Edit: I want to change the system-wide date format, so that all my applications use this new date format.
Install and launch "dconf Editor", navigate to com -> canonical -> indicator -> datetime.
Set the value of time-format to custom.
Customize the Time & Date format by editing the value of custom-time-format, e.g. set it to %Y-%m-%d %H:%M:%S for "2017-12-31 23:59:59" format.
Re-login to see effect of the changes.
You can also do this via a command in terminal:
gsettings set com.canonical.indicator.datetime time-format 'custom'
gsettings set com.canonical.indicator.datetime custom-time-format '%Y-%m-%d %H:%M:%S'
Source: http://ubuntuhandbook.org/index.php/2015/12/time-date-format-ubuntu-panel/
How to do this in 2017 with Ubuntu 16.04 (Xenial Xerus) is described here. Cut/Paste follows below in case that site goes away:
Change date and measurement formats
You can control the formats that are used for dates, times, numbers, currency, and measurement to match the local customs of your region.
Click the icon at the very right of the menu bar and select System Settings.
Open Language Support and select the Regional Formats tab.
Select the region that most closely matches the formats you'd like to use. By default, the list only shows regions that use the language set on the Language tab.
You have to log out and back in for these changes to take effect.
Click the icon at the very right of the menu bar and select Log Out to log out.
After you've selected a region, the area below the list shows various examples of how dates and other values are shown. Although not shown in the examples, your region also controls the starting day of the week in calendars.
Thunderbird uses the system's date format, and that format depends on the system's locale settings. You have two options:
modify the system locale, the instructions are in the forum thread you linked above, or
set LC_TIME to a locale that uses the format you want. The article linked by Craig H suggests en_DK.
The instructions here worked for me to create a custom locale based on en_US. Then Thunderbird showed the date/time format how I want (I prefer YYYY-MM-DD over MM/DD/YY).
Some time later, the date/time format in Thunderbird changed back to what was set in en_US (MM/DD/YY), because I had inadvertently set $LC_ALL to en_US.UTF-8. So, I sudo gedit /etc/environment and changed LC_ALL="en_US.UTF-8" to LC_ALL="custom.UTF-8". Finally, Thunderbird is showing the dates how I want them.

Resources