3guk Posted March 20, 2014 Posted March 20, 2014 Hey Guys, Using a calendar generation script that requires all of my eventstart field and eventend field to be timestamps rather than dates. Since all of my events are dates I've had my database set up with just date fields. Can I use a calculation to generate new fields which take the date field and spit out a timestamp of date + a time of 00:00 ? Any ideas? Thanks James
eos Posted March 20, 2014 Posted March 20, 2014 Use Timestamp ( yourDateField ; Time ( 0 ; 0 ; 0 ) ) 2
LaRetta Posted March 20, 2014 Posted March 20, 2014 I believe that GetAsTimeStamp ( theDate ) would works also. :-) 1
eos Posted March 20, 2014 Posted March 20, 2014 Indeed it does – not as explicit, but less wear and tear on the old keyboard …
comment Posted March 20, 2014 Posted March 20, 2014 less wear and tear on the old keyboard … If that is a concern, consider = Timestamp ( Datefield ; 0 ) 2
LaRetta Posted March 20, 2014 Posted March 20, 2014 I just love this stuff ! Thanks for the fun guys! Wait ... wait ... where's Daniele?
Raybaudi Posted March 21, 2014 Posted March 21, 2014 I'm here ( as Always ) Another way ( simpler ) Datefield // calculation result TimeStamp LOL 1
Recommended Posts
This topic is 3957 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 accountSign in
Already have an account? Sign in here.
Sign In Now