358 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
Session slides for our ICONUK session
Sun, Sep 14th 2014 118
Speaking at ICONUK 2014
Sun, Sep 7th 2014 105
Why? – Why not
Mon, Aug 18th 2014 165
Dander4Dosh – Break(ing) in the foot
Sun, May 25th 2014 121
IBM Connections Folders #4: Some final recommendations
Fri, Apr 18th 2014 172
IBM Connections Folders #3: working with folders
Fri, Apr 18th 2014 138
IBM Connections Folders #2: Ownership of files and folders
Tue, Apr 15th 2014 167
Top 10
Connecting to Connect: Thomas (aka Duffbert) Duff and a little heckling from the social balcony
Wed, Jan 29th 2014 227
IBM Connections Folders #4: Some final recommendations
Fri, Apr 18th 2014 172
IBM Connections Folders #2: Ownership of files and folders
Tue, Apr 15th 2014 167
Why? – Why not
Mon, Aug 18th 2014 165
Connecting to Connect – Adam Brown about Kudos Boards & Connect
Sat, Jan 25th 2014 153
IBM Connections Folders #1: Community Folders
Mon, Apr 14th 2014 150
Shared folders – potential security issue
Sun, Apr 13th 2014 147
IBM Connections Folders #3: working with folders
Fri, Apr 18th 2014 138
Lotus Notes Gems: Set the default font for mail
Tue, Oct 30th 2012 127
Connecting to Connect: Andrew Grill – shifting from Social Media to Social Business
Thu, Jan 30th 2014 126


Lotusscript TimeDifference & Long data type - Grrr....
   

Spent Friday investigating some freakish code problems. This one just blew my mind....
When assigning numbers to a data type what do you expect to happen when you assign a number to big to fit the assigned data type? Right, an overflow error. 

Well explain this then....

Ok, yes I know, you can solve it by using "difference# = notesDateTime.TimeDifferenceDouble( notesDateTime )" method which will return a double. I just can't get my head around the fact that it didn't return an error when it overflowed on 2,147,483,647 and instead continued up from it's negative boundary (-2,147,483,648).
Or is this normal behavior for a Long data type??  I just hate it when I can't logically explain something...

Code I used to test the effect:

Sub Click(Source As Button)
    Dim todayD As New NotesDateTime(Today)
    Dim AlteredDate As New NotesDateTime(Today)
   
    Set todayD = New NotesDateTime(Today)
    todayD.Localtime = todayD.Dateonly + " 00:00:00"
   
    Set AlteredDate = New NotesDateTime(Today)
    AlteredDate.Localtime = AlteredDate.Dateonly + " 00:00:00"
   
    For x = 24850 To 24860
        Set AlteredDate = New NotesDateTime(Today)       
        Call AlteredDate.AdjustDay(-x)
        If TodayD.Timedifference(AlteredDate)<0 Then
            'EXPECTED OVERFLOW ERROR AT 24857 NOT HAPPENING
        End If

        Print "TimeDifference between: " + TodayD.DateOnly + " and " +_

        AlteredDate.DateOnly + " = " + Cstr(TodayD.Timedifference(AlteredDate)) +_
        " ---- Days: " + Cstr(x)       
    Next

End Sub



---------------------
http://feedproxy.google.com/~r/socialBusinessAsUsual/~3/Pd30lWDh9_w/lotusscript-timedifference-long-data.html
Feb 05, 2012
53 hits



Recent Blog Posts
118


Session slides for our ICONUK session
Sun, Sep 14th 2014 10:12a   Femke Goedhart
Session as delivered by Sasja Beerendonk & me at ICONUK in London on September 12th 2014 Beyond theory: Trials & tribulations in becoming a successful social business Abstract: There is lots of theory about how to become a social business but what really does or doesn’t work? We wanted to know and interviewed 32 companies in various stages of their journey to becoming a social business. Not just highlighting the big wins but also talking about the struggles and small successes th [read] Keywords:
105


Speaking at ICONUK 2014
Sun, Sep 7th 2014 3:16p   Femke Goedhart
Next week I will be flying out to London to join my coworker Sasja Beerendonk to deliver a session at ICONUK 2014 on the trials & tribulations of becoming a successful social business. I’m really looking forward to this session in more then one way: First of all because it will be my first time presenting together with Sasja whom I’ve know for years as a specialist of social business adoption and who, I’m lucky to say,  decided to join the great team we have at Silverside [read] Keywords: linkedin profile
165


Why? – Why not
Mon, Aug 18th 2014 10:10a   Femke Goedhart
Sometimes something inspires you, hits you or just speaks to you. Today I saw this fragment on a Dutch tv show and it hit a nerve. I’m not in science but I am in IT and I still get asked sometimes “why?”. I’ve never really paused at that question, I knew when I started I was an exception in a sea of men (my then company employed 160 male and only 4 female IT consultants) but I never felt inhibited or held back in any way to become or do what I wanted. The ‘why?R [read] Keywords:
121


Dander4Dosh – Break(ing) in the foot
Sun, May 25th 2014 4:11p   Femke Goedhart
Ok, so people who know me might know that I broke my foot last November. I was training for a 15k race (running) and missed a curb…. Stupid, stupid, stupid…. Seven weeks of a cast, a wheelchair and crutches on I was more then ready to restart my live and decided that I had to get back in the swing of exercising. As running still felt a bit daunting so soon after the break and as I had already kind of committed myself to walk the Dander4Dosh I figured it would be the perfect way to fo [read] Keywords: facebook twitter
172


IBM Connections Folders #4: Some final recommendations
Fri, Apr 18th 2014 9:10a   Femke Goedhart
This blog is follow up in a series of blogs on Folders in IBM Connections. For full understanding I would recommend reviewing the previous blogs: #1: Community Folders, #2: Ownership of files and folders and #3 working with folders first.   So in the previous three post I explained a bit about the ins and outs of IBM Connections folders, the different flavours you have and how they work and differ from each other. But the question now is how do you use them…? I’m not going to tell you. [read] Keywords: connections ibm community security
138


IBM Connections Folders #3: working with folders
Fri, Apr 18th 2014 12:11a   Femke Goedhart
This blog is follow up in a series of blogs on Folders in IBM Connections. For full understanding I would recommend reviewing the previous blogs: #1: Community Folders and #2: Ownership of files and folders first. When I was starting this series of blogs on the different options of sharing files & folders within IBM Connections it was mostly influenced by my own interest in how it all worked. As a Business Consultant specializing in both Document Management as well as Social Business anyth [read] Keywords: connections ibm quickr community interface linking mobile security
167


IBM Connections Folders #2: Ownership of files and folders
Tue, Apr 15th 2014 1:14p   Femke Goedhart
This blog is follow up in a series of blogs on Folders in IBM Connections. For full understanding I would recommend reviewing #1: Community Folders first Ownership is quite important in IBM Connection when it comes to data. Why? Well because ownership isn’t always straight forward and sometimes data shouldn’t be public. Obvious! Why would you even need to say that? Well… The premises of any social platform like IBM Connections is to share. That means that in theory the thinking [read] Keywords: connections ibm community security




150


IBM Connections Folders #1: Community Folders
Mon, Apr 14th 2014 9:12a   Femke Goedhart
Last week CR4 for IBM Connections 4.5 came out. An intermediate update that had a few new options for file management in IBM Connections. One of which was the ability to add Communities folders. Until now the standard option to get a folder in a community Files section was to create one in your personal files and share that with the community. Control and ownership would however remain with the user, not the community. This has now been extended with the option to create a folder specifically [read] Keywords: connections ibm community
147


Shared folders – potential security issue
Sun, Apr 13th 2014 4:49p   Femke Goedhart
IBM Connections allows users to share personal folders with groups, communities and users. An ideal option to share sets of documents/files with multiple target audiences at the same time. There are however some caveats. Especially in situations where Shared Folders are used to share potentially sensitive information with Restricted (secured) communities. If your organization uses Shared Folders I would strongly advise looking at the below example to get an idea of the potential risks so you can [read] Keywords: admin connections ibm community security
95


Engage user group – session slides
Wed, Mar 19th 2014 8:11a   Femke Goedhart
I had the honor of being able to present two sessions earlier this week at the Engage usergroup event in Breda, the Netherlands with two great co-speakers. The slides of both sessions have been published to Slideshare: Getting to the core, requirements gathering in the wild Sophie Lavignac-Le Madec & Femke Goedhart The basis of any good project is good requirements. Knowing what it is you are going to build / get determines whether your project will be a success or a flat out failure. In [read] Keywords: connections ibm application community development linkedin




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - Mobile Edition