Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8029583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:28:45+00:00 2026-06-05T00:28:45+00:00

I am trying to set a time range (e.g. from 9am to 3pm only).

  • 0

I am trying to set a time range (e.g. from 9am to 3pm only). So far, I have only been able to set the default time.

$('#time').trigger('datebox', {"method":"set", "value":"06:00 PM"});
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T00:28:48+00:00Added an answer on June 5, 2026 at 12:28 am

    Sorry, it isn’t supported. It looks like days and years are the only thing that support a min and max. This probably wouldn’t be difficult to add to the code if you fork his repo.

    You can view all options, documented and undocumented, by looking at the source on github https://github.com/jtsage/jquery-mobile-datebox/blob/master/js/jquery.mobile.datebox.js

    options: {
        // All widget options, including some internal runtime details
        version: '1.0.1-2012022700', // jQMMajor.jQMMinor.DBoxMinor-YrMoDaySerial
        theme: false,
        defaultTheme: 'c',
        pickPageTheme: 'b',
        pickPageInputTheme: 'e',
        pickPageButtonTheme: 'a',
        pickPageHighButtonTheme: 'e',
        pickPageOHighButtonTheme: 'e',
        pickPageOAHighButtonTheme: 'e',
        pickPageODHighButtonTheme: 'e',
        pickPageTodayButtonTheme: 'e',
        pickPageSlideButtonTheme: 'd',
        pickPageFlipButtonTheme: 'b',
        forceInheritTheme: false,
        centerWindow: false,
        calHighToday: true,
        calHighPicked: true,
        transition: 'pop',
        noAnimation: false,
        disableManualInput: false,
    
        disabled: false,
        wheelExists: false,
        swipeEnabled: true,
        zindex: '500',
        debug: false,
        clickEvent: 'vclick',
        numberInputEnhance: true,
        internalInputType: 'text',
        resizeListener: true,
    
        titleDialogLabel: false,
        meridiemLetters: ['AM', 'PM'],
        timeOutputOverride: false,
        timeFormats: { '12': '%l:%M %p', '24': '%k:%M' },
        durationFormat: 'DD ddd, hh:ii:ss',
        timeOutput: false,
        rolloverMode: { 'm': true, 'd': true, 'h': true, 'i': true, 's': true },
    
        mode: 'datebox',
        calShowDays: true,
        calShowOnlyMonth: false,
        useDialogForceTrue: false,
        useDialogForceFalse: true,
        fullScreen: false,
        fullScreenAlways: false,
        useDialog: false,
        useModal: false,
        useInline: false,
        useInlineBlind: false,
        useClearButton: false,
        collapseButtons: false,
        noButtonFocusMode: false,
        focusMode: false,
        noButton: false,
        noSetButton: false,
        openCallback: false,
        openCallbackArgs: [],
        closeCallback: false,
        closeCallbackArgs: [],
        open: false,
        nestedBox: false,
        lastDuration: false,
    
        fieldsOrder: false,
        fieldsOrderOverride: false,
        durationOrder: ['d', 'h', 'i', 's'],
        defaultDateFormat: '%Y-%m-%d',
        dateFormat: false,
        timeFormatOverride: false,
        headerFormat: false,
        dateOutput: false,
        minuteStep: 1,
        calTodayButton: false,
        calWeekMode: false,
        calWeekModeFirstDay: 1,
        calWeekModeHighlight: true,
        calStartDay: false,
        defaultPickerValue: false,
        defaultDate : false,    //this is deprecated and will be removed in the future versions (ok, may be not)
        minYear: false,
        maxYear: false,
        afterToday: false,
        beforeToday: false,
        maxDays: false,
        minDays: false,
        highDays: false,
        highDates: false,
        highDatesAlt: false,
        blackDays: false,
        blackDates: false,
        enableDates: false,
        fixDateArrays: false,
        durationSteppers: {'d': 1, 'h': 1, 'i': 1, 's': 1},
        useLang: 'en',
        lang: {
            'en' : {
                setDateButtonLabel: 'Set Date',
                setTimeButtonLabel: 'Set Time',
                setDurationButtonLabel: 'Set Duration',
                calTodayButtonLabel: 'Jump to Today',
                titleDateDialogLabel: 'Set Date',
                titleTimeDialogLabel: 'Set Time',
                daysOfWeek: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
                daysOfWeekShort: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
                monthsOfYear: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
                monthsOfYearShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
                durationLabel: ['Days', 'Hours', 'Minutes', 'Seconds'],
                durationDays: ['Day', 'Days'],
                timeFormat: 24,
                headerFormat: '%A, %B %-d, %Y',
                tooltip: 'Open Date Picker',
                nextMonth: 'Next Month',
                prevMonth: 'Previous Month',
                dateFieldOrder: ['m', 'd', 'y'],
                timeFieldOrder: ['h', 'i', 'a'],
                slideFieldOrder: ['y', 'm', 'd'],
                dateFormat: '%Y-%m-%d',
                useArabicIndic: false,
                isRTL: false,
                calStartDay: 0,
                clearButton: 'Clear'
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a time_select in which I am trying to set a time value
I am trying to set my columns default date time to system datetime. It
I'm trying to set a time value into a data frame: ps = data.frame(t(rep(NA,
I'm trying to set format for time in a jqGrid. It does not work.
I`m trying to update time in datetime field as UPDATE table_name SET col_name=to_DATE('04/02/2012 00:12:00','MM/DD/YYYY
I'm trying to call a actor to do something time consuming. The caller set
I am trying to set the data validation for a range of cells using
Basically am trying to set a time and a date in PHP then set
I am trying to compare the dates with time from inside a cell with
I have been trying to learn pygame the last day or so, and tried

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.