Ninox website
Forum
Search
⌃
K
Links
Welcome 🎉
🤓
Step by step
Introduction
Basics
Intermediate tutorial
Independent tutorial
Tours
Build databases
Enable timezone-independent date
Manage databases
Modularity
Mailhook
Pages
Import and export
Duplicate database
Defragment database
Process monitor
🖨
Print
Print customization
Scripting
Introduction to Ninox script
Functions overview
Functions—by category
Functions—alphabetically
abs
acos
age
alert
appendTempFile
appointment
array
asin
atan
atan2
avg
barcodeScan
cached
capitalize
ceil
chosen
clientLang
closeAllRecords
closeFullscreen
closeRecord
color
concat
contains
cos
count (aka cnt)
createCalendarEvent
createCalendarReminder
createTempFile
createTextFile
createZipFile
databaseId
date
datetime
day
days
degrees
dialog
duplicate
duration
email
endof
even
exp
extractx
file
fileMetadata
files
first
floor
format
formatJSON
formatXML
html
http
icon
importFile
index
invalidate
isAdminMode
isDatabaseLocked
isDatabaseProtected
item
join
last
latitude
length
ln
loadFileAsBase64
loadFileAsBase64URL
location
log
longitude
lower
lpad
max
min
month
monthIndex
monthName
ninoxApp
now
number
numbers
odd
openFullscreen
openPage
openPrintLayout
openRecord
openTable
openURL
parseJSON
parseXML
phone
popupRecord
pow
printAndSaveRecord
printRecord
printTable
quarter
queryConnection
radians
random
range
raw
record
removeItem
replace
replacex
round
rpad
rsort
sendCommand
sendEmail
setItem
shareFile
shareView
sign
sin
sleep
slice
sort
split
splitx
sqr
sqrt
start
string
styled
substr
substring
sum
tableId
tan
teamId
testx
text
time
timeinterval
timestamp
today
trim
unique
unshareAllViews
unshareFile
unshareView
upper
url
urlDecode
urlEncode
urlOf
user
userEmail
userFirstName
userFullName
userHasRole
userId
userIsAdmin
userLastName
userName
userRole
userRoles
users
waitForSync
week
weekday
weekdayIndex
weekdayName
workdays
year
yearmonth
yearquarter
yearweek
Fields
Ninox languages
Date and time formats
Icons
About "any"
Automatic adjustments
Transactions
💡
Use cases
Tips and tricks for fast databases
Automatic invoice number
API
Introduction to Ninox API
API calls in Ninox script
Private Cloud APIs
Public Cloud APIs
Private Cloud / On-Premises
Single sign-on (SSO)
Windows Server installation
Docker installation
Sample configuration file
SQL Server integration
Manage account
Create account
Book subscription
Calculate required licenses
Add licenses
Manage licenses
Invite collaborators
Understand usage overview and capacity restrictions
Ninox, Mac app and iCloud
Resources
Release notes
Glossary
🇩🇪
Ninox Docs (German)
👵
Legacy manual
What does "Legacy manual" mean?
Introduction
User interface
Tables
Calculations
Print
Import and export
System requirements
User management, identities and rights
Data synchronization
Data backup
FAQ
Related Links
Ninox website
Community
Webinars
Pricing
Contact us
Imprint
Privacy policy
Powered By
GitBook
Comment on page
databaseId
To return the ID of the current database
This function tells you the ID of the current database you are in.
Syntax
databaseId()
Return
string
Examples
1
databaseId()
Result:
mcxhedkkmvpp (for example)
See also
teamId
, which returns the ID of the current workspace.
tableId
, which returns the ID of a table.
Previous
createZipFile
Next
date
Last modified
9mo ago