This answer covers several scenarios, beginning with the most likely and convenient way, and ending with the most improbable scenario. Feel free to skip over sections that do not apply.
----
If you are referring to the date the picture is taken by the camera, this come from EXIF - a standardized way for cameras to add information (metadata) to an image file.
----
Case: The picture is to be taken by the customer by a mobile device, tablet, or devices capable of running the Laserfiche App (also known as Laserfiche Mobile) with Laserfiche Forms
When Laserfiche Forms and Laserfiche App are used together to take a picture and upload to Laserfiche, the date can be picked up automatically.
----
Case: To pick up "date picture taken" while uploading to Laserfiche from a computer, i.e. when the image file is originally on the hard drive, a USB device, a digital camera, or a mobile device with USB access to pictures
Laserfiche PhotoDocs offers an alternative way of uploading images to Laserfiche. After selecting images from the source, a new document can be created with its folder name, file name, and metadata fields populated using tokens such as "%(DateTaken)".
----
To access the "date picture taken" information inside a script running in Laserfiche Workflow, or any Laserfiche product with built-in .NET scripting capability
Option 1 - use a command-line tool that prints out or saves the EXIF information to a text file, then parse the text file.
We tend not to make recommendations about third-party tools. You can search for command-line tools that works with EXIF information, and evaluate these third-party tools for your needs.
----
Option 2 - use the combined programmatic capabilities provided by Laserfiche SDK, the Windows operating system and .NET Framework
The source code would be a few pages long. Also, the code may not fulfill any particular requirements. It is provided as-is, without any guarantees, for educational and illustrative purposes only. The information is only intended to be consumed by a software programmer, as the code may lack safety features, fitness for purpose, or may contain undesirable traits that can only be remedied by an informed software programmer. Please refer to the Laserfiche Answers Code of Conduct for guidelines regarding fragments of source code posted on this site.
The following source code was intended to extract the EXIF orientation. With modification, it can be made to fetch the EXIF data-taken information instead.
Sample source code for a related, but not exactly the same purpose: https://answers.laserfiche.com/questions/105755/Scanner-Orientation-EXIF-Data-Autorotation#106187
Note that EXIF contains several pieces of information related to date-taken. Although the metadata names and numerical identifier assignments are standardized, different digital camera vendors may choose to populate these fields with values at their discretion, or may omit some or all of them. A proper scripting approach will need to consider the handling of these situations, as well as a means of reporting (logging) a handling failure in case a particular input image contains a metadata value that falls outside the intended range.
- Metadata 306 decimal, or 132 hexadecimal : DateTime
- Metadata 36867 decimal, or 9003 hexadecimal : DateTimeOriginal
- Metadata 36868 decimal, or 9004 hexadecimal : DateTimeDigitized
Primary information sources:
Secondary information sources:
----
Case: The "date" is generated by a film camera (non-digital), in the form of the year, month, date digits printed (overlaid) on the corner of the image.
This will require Quick Fields processing, in particular multiple image enhancement steps, and finally Zone OCR.